Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 794 for py$ (0.01 sec)

  1. docs/en/docs/tutorial/first-steps.md

    # First Steps { #first-steps }
    
    The simplest FastAPI file could look like this:
    
    {* ../../docs_src/first_steps/tutorial001.py *}
    
    Copy that to a file `main.py`.
    
    Run the live server:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:solid">main.py</u>
    
      <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span>  Starting development server ๐Ÿš€
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. docs/ja/docs/tutorial/dependencies/dependencies-with-yield.md

    ไพ‹ใˆใฐใ€ใ“ใ‚Œใ‚’ไฝฟใฃใฆใƒ‡ใƒผใ‚ฟใƒ™ใƒผใ‚นใ‚ปใƒƒใ‚ทใƒงใƒณใ‚’ไฝœๆˆใ—ใ€็ต‚ไบ†ๅพŒใซใใ‚Œใ‚’้–‰ใ˜ใ‚‹ใ“ใจใŒใงใใพใ™ใ€‚
    
    ใƒฌใ‚นใƒใƒณใ‚นใ‚’้€ไฟกใ™ใ‚‹ๅ‰ใซ`yield`ๆ–‡ใ‚’ๅซใ‚€ๅ‰ใฎใ‚ณใƒผใƒ‰ใฎใฟใŒๅฎŸ่กŒใ•ใ‚Œใพใ™ใ€‚
    
    {* ../../docs_src/dependencies/tutorial007.py hl[2,3,4] *}
    
    ็”Ÿๆˆใ•ใ‚ŒใŸๅ€คใฏใ€*path operations*ใ‚„ไป–ใฎไพๅญ˜้–ขไฟ‚ใซๆณจๅ…ฅใ•ใ‚Œใ‚‹ใ‚‚ใฎใงใ™:
    
    {* ../../docs_src/dependencies/tutorial007.py hl[4] *}
    
    `yield`ๆ–‡ใซ็ถšใใ‚ณใƒผใƒ‰ใฏใ€ใƒฌใ‚นใƒใƒณใ‚นใŒ้€ไฟกใ•ใ‚ŒใŸๅพŒใซๅฎŸ่กŒใ•ใ‚Œใพใ™:
    
    {* ../../docs_src/dependencies/tutorial007.py hl[5,6] *}
    
    /// tip | ่ฑ†็Ÿฅ่ญ˜
    
    `async`ใ‚„้€šๅธธใฎ้–ขๆ•ฐใ‚’ไฝฟ็”จใ™ใ‚‹ใ“ใจใŒใงใใพใ™ใ€‚
    
    **FastAPI** ใฏใ€้€šๅธธใฎไพๅญ˜้–ขไฟ‚ใจๅŒใ˜ใ‚ˆใ†ใซใ€ใใ‚Œใžใ‚Œใงๆญฃใ—ใ„ใ“ใจใ‚’่กŒใ„ใพใ™ใ€‚
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. docs/ko/docs/advanced/middlewares.md

    ๋“ค์–ด์˜ค๋Š” ๋ชจ๋“  ์š”์ฒญ์ด `https` ๋˜๋Š” `wss`์—ฌ์•ผ ํ•ฉ๋‹ˆ๋‹ค.
    
    `http` ๋˜๋Š” `ws`๋กœ ๋“ค์–ด์˜ค๋Š” ๋ชจ๋“  ์š”์ฒญ์€ ๋Œ€์‹  ๋ณด์•ˆ ์ฒด๊ณ„๋กœ ๋ฆฌ๋””๋ ‰์…˜๋ฉ๋‹ˆ๋‹ค.
    
    {* ../../docs_src/advanced_middleware/tutorial001.py hl[2,6] *}
    
    ## `TrustedHostMiddleware`
    
    HTTP ํ˜ธ์ŠคํŠธ ํ—ค๋” ๊ณต๊ฒฉ์„ ๋ฐฉ์ง€ํ•˜๊ธฐ ์œ„ํ•ด ๋ชจ๋“  ์ˆ˜์‹  ์š”์ฒญ์— ์˜ฌ๋ฐ”๋ฅด๊ฒŒ ์„ค์ •๋œ `Host` ํ—ค๋”๋ฅผ ๊ฐ–๋„๋ก ๊ฐ•์ œํ•ฉ๋‹ˆ๋‹ค.
    
    {* ../../docs_src/advanced_middleware/tutorial002.py hl[2,6:8] *}
    
    ๋‹ค์Œ ์ธ์ˆ˜๊ฐ€ ์ง€์›๋ฉ๋‹ˆ๋‹ค:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Nov 26 22:35:09 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. docs/de/docs/how-to/extending-openapi.md

    Schreiben Sie zunรคchst wie gewohnt Ihre ganze **FastAPI**-Anwendung:
    
    {* ../../docs_src/extending_openapi/tutorial001.py hl[1,4,7:9] *}
    
    ### Das OpenAPI-Schema generieren
    
    Verwenden Sie dann dieselbe Hilfsfunktion, um das OpenAPI-Schema innerhalb einer `custom_openapi()`-Funktion zu generieren:
    
    {* ../../docs_src/extending_openapi/tutorial001.py hl[2,15:21] *}
    
    ### Das OpenAPI-Schema รคndern
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/cookie-params.md

    ## `Cookie` ์ž„ํฌํŠธ
    
    ๋จผ์ € `Cookie`๋ฅผ ์ž„ํฌํŠธํ•ฉ๋‹ˆ๋‹ค:
    
    {* ../../docs_src/cookie_params/tutorial001_an_py310.py hl[3] *}
    
    ## `Cookie` ๋งค๊ฐœ๋ณ€์ˆ˜ ์„ ์–ธ
    
    ๊ทธ๋Ÿฐ ๋‹ค์Œ, `Path`์™€ `Query`์ฒ˜๋Ÿผ ๋™์ผํ•œ ๊ตฌ์กฐ๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ์ฟ ํ‚ค ๋งค๊ฐœ๋ณ€์ˆ˜๋ฅผ ์„ ์–ธํ•ฉ๋‹ˆ๋‹ค.
    
    ์ฒซ ๋ฒˆ์งธ ๊ฐ’์€ ๊ธฐ๋ณธ๊ฐ’์ด๋ฉฐ, ์ถ”๊ฐ€ ๊ฒ€์ฆ์ด๋‚˜ ์–ด๋…ธํ…Œ์ด์…˜ ๋งค๊ฐœ๋ณ€์ˆ˜ ๋ชจ๋‘ ์ „๋‹ฌํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:
    
    {* ../../docs_src/cookie_params/tutorial001_an_py310.py hl[9] *}
    
    /// note | ๊ธฐ์ˆ  ์„ธ๋ถ€์‚ฌํ•ญ
    
    `Cookie`๋Š” `Path` ๋ฐ `Query`์˜ "์ž๋งค"ํด๋ž˜์Šค์ž…๋‹ˆ๋‹ค. ์ด ์—ญ์‹œ ๋™์ผํ•œ ๊ณตํ†ต `Param` ํด๋ž˜์Šค๋ฅผ ์ƒ์†ํ•ฉ๋‹ˆ๋‹ค.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/request-form-models.md

    Solo necesitas declarar un **modelo de Pydantic** con los campos que quieres recibir como **campos de formulario**, y luego declarar el parรกmetro como `Form`:
    
    {* ../../docs_src/request_form_models/tutorial001_an_py39.py hl[9:11,15] *}
    
    **FastAPI** **extraerรก** los datos de **cada campo** de los **form data** en el request y te darรก el modelo de Pydantic que definiste.
    
    ## Revisa la Documentaciรณn
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. docs/en/docs/how-to/custom-request-and-route.md

    All we need to do is handle the request inside a `try`/`except` block:
    
    {* ../../docs_src/custom_request_and_route/tutorial002.py hl[13,15] *}
    
    If an exception occurs, the`Request` instance will still be in scope, so we can read and make use of the request body when handling the error:
    
    {* ../../docs_src/custom_request_and_route/tutorial002.py hl[16:18] *}
    
    ## Custom `APIRoute` class in a router { #custom-apiroute-class-in-a-router }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. docs/es/docs/how-to/extending-openapi.md

    Primero, escribe toda tu aplicaciรณn **FastAPI** como normalmente:
    
    {* ../../docs_src/extending_openapi/tutorial001.py hl[1,4,7:9] *}
    
    ### Generar el esquema de OpenAPI
    
    Luego, usa la misma funciรณn de utilidad para generar el esquema de OpenAPI, dentro de una funciรณn `custom_openapi()`:
    
    {* ../../docs_src/extending_openapi/tutorial001.py hl[2,15:21] *}
    
    ### Modificar el esquema de OpenAPI
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/response-status-code.md

    ///
    
    ## โŒจ ๐Ÿ’ญ ๐Ÿ“›
    
    โžก๏ธ ๐Ÿ‘€ โฎ๏ธ ๐Ÿ–ผ ๐Ÿ”„:
    
    {* ../../docs_src/response_status_code/tutorial001.py hl[6] *}
    
    `201` ๐Ÿ‘” ๐Ÿ“Ÿ "โœ".
    
    โœ‹๏ธ ๐Ÿ‘† ๐Ÿšซ โœ”๏ธ โœ โšซ๏ธโ” ๐Ÿ”  ๐Ÿ‘‰ ๐Ÿ“Ÿ โ›“.
    
    ๐Ÿ‘† ๐Ÿ’ช โš™๏ธ ๐Ÿช ๐Ÿ”ข โšช๏ธโžก๏ธ `fastapi.status`.
    
    {* ../../docs_src/response_status_code/tutorial002.py hl[1,6] *}
    
    ๐Ÿ‘ซ ๐Ÿช, ๐Ÿ‘ซ ๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘ ๐ŸŽ ๐Ÿ”ข, โœ‹๏ธ ๐Ÿ‘ˆ ๐ŸŒŒ ๐Ÿ‘† ๐Ÿ’ช โš™๏ธ ๐Ÿ‘จโ€๐ŸŽจ ๐Ÿ“‹ ๐Ÿ”Ž ๐Ÿ‘ซ:
    
    <img src="/img/tutorial/response-status-code/image02.png">
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. docs/em/docs/advanced/advanced-dependencies.md

    ๐Ÿ‘ˆ, ๐Ÿ‘ฅ ๐Ÿ“ฃ ๐Ÿ‘ฉโ€๐Ÿ”ฌ `__call__`:
    
    {* ../../docs_src/dependencies/tutorial011.py hl[10] *}
    
    ๐Ÿ‘‰ ๐Ÿ’ผ, ๐Ÿ‘‰ `__call__` โšซ๏ธโ” **FastAPI** ๐Ÿ”œ โš™๏ธ โœ… ๐ŸŒ– ๐Ÿ”ข &amp; ๐ŸŽง-๐Ÿ”—, &amp; ๐Ÿ‘‰ โšซ๏ธโ” ๐Ÿ”œ ๐Ÿค™ ๐Ÿšถโ€โ™€๏ธ ๐Ÿ’ฒ ๐Ÿ”ข ๐Ÿ‘† *โžก ๐Ÿ› ๏ธ ๐Ÿ”ข* โช.
    
    ## ๐Ÿ”— ๐Ÿ‘
    
    &amp; ๐Ÿ”œ, ๐Ÿ‘ฅ ๐Ÿ’ช โš™๏ธ `__init__` ๐Ÿ“ฃ ๐Ÿ”ข ๐Ÿ‘ ๐Ÿ‘ˆ ๐Ÿ‘ฅ ๐Ÿ’ช โš™๏ธ "๐Ÿ”—" ๐Ÿ”—:
    
    {* ../../docs_src/dependencies/tutorial011.py hl[7] *}
    
    ๐Ÿ‘‰ ๐Ÿ’ผ, **FastAPI** ๐Ÿ† ๐Ÿšซ โฑ ๐Ÿ‘† โš–๏ธ ๐Ÿ’… ๐Ÿ”ƒ `__init__`, ๐Ÿ‘ฅ ๐Ÿ”œ โš™๏ธ โšซ๏ธ ๐Ÿ”— ๐Ÿ‘† ๐Ÿ“Ÿ.
    
    ## โœ ๐Ÿ‘
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top