Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for stats (0.16 sec)

  1. docs/em/docs/tutorial/path-operation-configuration.md

        {!> ../../../docs_src/path_operation_configuration/tutorial001_py310.py!}
        ```
    
    ๐Ÿ‘ˆ ๐Ÿ‘” ๐Ÿ“Ÿ ๐Ÿ”œ โš™๏ธ ๐Ÿ“จ & ๐Ÿ”œ ๐Ÿšฎ ๐Ÿ—„ ๐Ÿ”—.
    
    !!! note "๐Ÿ“ก โ„น"
        ๐Ÿ‘† ๐Ÿ’ช โš™๏ธ `from starlette import status`.
    
        **FastAPI** ๐Ÿšš ๐ŸŽ `starlette.status` `fastapi.status` ๐Ÿช ๐Ÿ‘†, ๐Ÿ‘ฉโ€๐Ÿ’ป. โœ‹๏ธ โšซ๏ธ ๐Ÿ‘Ÿ ๐Ÿ”— โšช๏ธโžก๏ธ ๐Ÿ’ƒ.
    
    ## ๐Ÿ”–
    
    ๐Ÿ‘† ๐Ÿ’ช ๐Ÿšฎ ๐Ÿ”– ๐Ÿ‘† *โžก ๐Ÿ› ๏ธ*, ๐Ÿšถโ€โ™€๏ธ ๐Ÿ”ข `tags` โฎ๏ธ `list` `str` (๐Ÿ›Ž 1๏ธโƒฃ `str`):
    
    === "๐Ÿ 3๏ธโƒฃ.6๏ธโƒฃ & ๐Ÿ”›"
    
        ```Python hl_lines="17  22  27"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 5.3K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/path-operation-configuration.md

        {!> ../../../docs_src/path_operation_configuration/tutorial001.py!}
        ```
    
    That status code will be used in the response and will be added to the OpenAPI schema.
    
    !!! note "Technical Details"
        You could also use `from starlette import status`.
    
        **FastAPI** provides the same `starlette.status` as `fastapi.status` just as a convenience for you, the developer. But it comes directly from Starlette.
    
    ## Tags
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/path-operation-configuration.md

    ## ์‘๋‹ต ์ƒํƒœ ์ฝ”๋“œ
    
    *๊ฒฝ๋กœ ์ž‘๋™*์˜ ์‘๋‹ต์— ์‚ฌ์šฉ๋  (HTTP) `status_code`๋ฅผ ์ •์˜ํ• ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    `404`์™€ ๊ฐ™์€ `int`ํ˜• ์ฝ”๋“œ๋ฅผ ์ง์ ‘ ์ „๋‹ฌํ• ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    ํ•˜์ง€๋งŒ ๊ฐ ์ฝ”๋“œ์˜ ์˜๋ฏธ๋ฅผ ๋ชจ๋ฅธ๋‹ค๋ฉด, `status`์— ์žˆ๋Š” ๋‹จ์ถ• ์ƒ์ˆ˜๋“ค์„ ์‚ฌ์šฉํ• ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:
    
    ```Python hl_lines="3  17"
    {!../../../docs_src/path_operation_configuration/tutorial001.py!}
    ```
    
    ๊ฐ ์ƒํƒœ ์ฝ”๋“œ๋“ค์€ ์‘๋‹ต์— ์‚ฌ์šฉ๋˜๋ฉฐ, OpenAPI ์Šคํ‚ค๋งˆ์— ์ถ”๊ฐ€๋ฉ๋‹ˆ๋‹ค.
    
    !!! note "๊ธฐ์ˆ ์  ์„ธ๋ถ€์‚ฌํ•ญ"
        ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ž„ํฌํŠธํ•˜์…”๋„ ์ข‹์Šต๋‹ˆ๋‹ค. `from starlette import status`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Feb 11 13:48:31 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/path-operation-configuration.md

    ## ใƒฌใ‚นใƒใƒณใ‚นใ‚นใƒ†ใƒผใ‚ฟใ‚นใ‚ณใƒผใƒ‰
    
    *path operation*ใฎใƒฌใ‚นใƒใƒณใ‚นใงไฝฟ็”จใ™ใ‚‹๏ผˆHTTP๏ผ‰`status_code`ใ‚’ๅฎš็พฉใ™ใ‚‹ใ“ใจใŒใงใใพใ™ใ€‚
    
    `404`ใฎใ‚ˆใ†ใซ`int`ใฎใ‚ณใƒผใƒ‰ใ‚’็›ดๆŽฅๆธกใ™ใ“ใจใŒใงใใพใ™ใ€‚
    
    ใ—ใ‹ใ—ใ€ใใ‚Œใžใ‚Œใฎ็•ชๅทใ‚ณใƒผใƒ‰ใŒไฝ•ใฎใŸใ‚ใฎใ‚‚ใฎใ‹่ฆšใˆใฆใ„ใชใ„ๅ ดๅˆใฏใ€`status`ใฎใ‚ทใƒงใƒผใƒˆใ‚ซใƒƒใƒˆๅฎšๆ•ฐใ‚’ไฝฟ็”จใ™ใ‚‹ใ“ใจใŒใงใใพใ™:
    
    ```Python hl_lines="3  17"
    {!../../../docs_src/path_operation_configuration/tutorial001.py!}
    ```
    
    ใใฎใ‚นใƒ†ใƒผใ‚ฟใ‚นใ‚ณใƒผใƒ‰ใฏใƒฌใ‚นใƒใƒณใ‚นใงไฝฟ็”จใ•ใ‚Œใ€OpenAPIใ‚นใ‚ญใƒผใƒžใซ่ฟฝๅŠ ใ•ใ‚Œใพใ™ใ€‚
    
    !!! note "ๆŠ€่ก“่ฉณ็ดฐ"
        ใพใŸใ€`from starlette import status`ใ‚’ไฝฟ็”จใ™ใ‚‹ใ“ใจใ‚‚ใงใใพใ™ใ€‚
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 04:38:26 GMT 2024
    - 4.3K bytes
    - Viewed (0)
Back to top