Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 874 for python3 (0.11 sec)

  1. docs/de/docs/advanced/generate-clients.md

    ## Einen TypeScript-Frontend-Client generieren
    
    Beginnen wir mit einer einfachen FastAPI-Anwendung:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="7-9  12-13  16-17  21"
    {!> ../../docs_src/generate_clients/tutorial001_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="9-11  14-15  18  19  23"
    {!> ../../docs_src/generate_clients/tutorial001.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/dependencies/index.md

    ### โœ ๐Ÿ”—, โš–๏ธ "โ˜‘"
    
    โžก๏ธ ๐Ÿฅ‡ ๐ŸŽฏ ๐Ÿ”› ๐Ÿ”—.
    
    โšซ๏ธ ๐Ÿ”ข ๐Ÿ‘ˆ ๐Ÿ’ช โœŠ ๐ŸŒ ๐ŸŽ ๐Ÿ”ข ๐Ÿ‘ˆ *โžก ๐Ÿ› ๏ธ ๐Ÿ”ข* ๐Ÿ’ช โœŠ:
    
    //// tab | ๐Ÿ 3๏ธโƒฃ.6๏ธโƒฃ & ๐Ÿ”›
    
    ```Python hl_lines="8-11"
    {!> ../../docs_src/dependencies/tutorial001.py!}
    ```
    
    ////
    
    //// tab | ๐Ÿ 3๏ธโƒฃ.1๏ธโƒฃ0๏ธโƒฃ & ๐Ÿ”›
    
    ```Python hl_lines="6-7"
    {!> ../../docs_src/dependencies/tutorial001_py310.py!}
    ```
    
    ////
    
    ๐Ÿ‘ˆ โšซ๏ธ.
    
    **2๏ธโƒฃ โธ**.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. docs/em/docs/advanced/advanced-dependencies.md

    ๐Ÿšซ ๐ŸŽ“ โšซ๏ธ (โ” โช ๐Ÿ‡ง๐Ÿ‡ฒ), โœ‹๏ธ ๐Ÿ‘ ๐Ÿ‘ˆ ๐ŸŽ“.
    
    ๐Ÿ‘ˆ, ๐Ÿ‘ฅ ๐Ÿ“ฃ ๐Ÿ‘ฉโ€๐Ÿ”ฌ `__call__`:
    
    ```Python hl_lines="10"
    {!../../docs_src/dependencies/tutorial011.py!}
    ```
    
    ๐Ÿ‘‰ ๐Ÿ’ผ, ๐Ÿ‘‰ `__call__` โšซ๏ธโ” **FastAPI** ๐Ÿ”œ โš™๏ธ โœ… ๐ŸŒ– ๐Ÿ”ข & ๐ŸŽง-๐Ÿ”—, & ๐Ÿ‘‰ โšซ๏ธโ” ๐Ÿ”œ ๐Ÿค™ ๐Ÿšถโ€โ™€๏ธ ๐Ÿ’ฒ ๐Ÿ”ข ๐Ÿ‘† *โžก ๐Ÿ› ๏ธ ๐Ÿ”ข* โช.
    
    ## ๐Ÿ”— ๐Ÿ‘
    
    & ๐Ÿ”œ, ๐Ÿ‘ฅ ๐Ÿ’ช โš™๏ธ `__init__` ๐Ÿ“ฃ ๐Ÿ”ข ๐Ÿ‘ ๐Ÿ‘ˆ ๐Ÿ‘ฅ ๐Ÿ’ช โš™๏ธ "๐Ÿ”—" ๐Ÿ”—:
    
    ```Python hl_lines="7"
    {!../../docs_src/dependencies/tutorial011.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. docs/fr/docs/alternatives.md

    > Requests est l'un des packages Python les plus tรฉlรฉchargรฉs de tous les temps
    
    La faรงon dont vous l'utilisez est trรจs simple. Par exemple, pour faire une requรชte `GET`, vous devez รฉcrire :
    
    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    En contrepartie l'API _des opรฉrations de chemin_ de FastAPI pourrait ressembler ร  ceci :
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/cookie-params.md

    # ๐Ÿช ๐Ÿ”ข
    
    ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ”ฌ ๐Ÿช ๐Ÿ”ข ๐ŸŽ ๐ŸŒŒ ๐Ÿ‘† ๐Ÿ”ฌ `Query` & `Path` ๐Ÿ”ข.
    
    ## ๐Ÿ—„ `Cookie`
    
    ๐Ÿฅ‡ ๐Ÿ—„ `Cookie`:
    
    //// tab | ๐Ÿ 3๏ธโƒฃ.6๏ธโƒฃ & ๐Ÿ”›
    
    ```Python hl_lines="3"
    {!> ../../docs_src/cookie_params/tutorial001.py!}
    ```
    
    ////
    
    //// tab | ๐Ÿ 3๏ธโƒฃ.1๏ธโƒฃ0๏ธโƒฃ & ๐Ÿ”›
    
    ```Python hl_lines="1"
    {!> ../../docs_src/cookie_params/tutorial001_py310.py!}
    ```
    
    ////
    
    ## ๐Ÿ“ฃ `Cookie` ๐Ÿ”ข
    
    โคด๏ธ ๐Ÿ“ฃ ๐Ÿช ๐Ÿ”ข โš™๏ธ ๐ŸŽ ๐Ÿ“Š โฎ๏ธ `Path` & `Query`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/first-steps.md

    * **ํ•จ์ˆ˜**: ๋Š” "๋ฐ์ฝ”๋ ˆ์ดํ„ฐ" ์•„๋ž˜์— ์žˆ๋Š” ํ•จ์ˆ˜์ž…๋‹ˆ๋‹ค (`@app.get("/")` ์•„๋ž˜).
    
    ```Python hl_lines="7"
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    ์ด๊ฒƒ์€ ํŒŒ์ด์ฌ ํ•จ์ˆ˜์ž…๋‹ˆ๋‹ค.
    
    URL "`/`"์— ๋Œ€ํ•œ `GET` ์ž‘๋™์„ ์‚ฌ์šฉํ•˜๋Š” ์š”์ฒญ์„ ๋ฐ›์„ ๋•Œ๋งˆ๋‹ค **FastAPI**์— ์˜ํ•ด ํ˜ธ์ถœ๋ฉ๋‹ˆ๋‹ค.
    
    ์œ„์˜ ์˜ˆ์‹œ์—์„œ ์ด ํ•จ์ˆ˜๋Š” `async`(๋น„๋™๊ธฐ) ํ•จ์ˆ˜์ž…๋‹ˆ๋‹ค.
    
    ---
    
    `async def`์„ ์ด์šฉํ•˜๋Š” ๋Œ€์‹  ์ผ๋ฐ˜ ํ•จ์ˆ˜๋กœ ์ •์˜ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:
    
    ```Python hl_lines="7"
    {!../../docs_src/first_steps/tutorial003.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. docs/pt/docs/how-to/custom-request-and-route.md

    Tudo que precisamos fazer รฉ manipular a requisiรงรฃo dentro de um bloco `try`/`except`:
    
    ```Python hl_lines="13  15"
    {!../../docs_src/custom_request_and_route/tutorial002.py!}
    ```
    
    Se uma exceรงรฃo ocorrer, a instรขncia `Request` ainda estarรก em escopo, entรฃo podemos ler e fazer uso do corpo da requisiรงรฃo ao lidar com o erro:
    
    ```Python hl_lines="16-18"
    {!../../docs_src/custom_request_and_route/tutorial002.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 17:33:00 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    ///
    
    ## ๐Ÿ”— โŒ & ๐Ÿ“จ ๐Ÿ’ฒ
    
    ๐Ÿ‘† ๐Ÿ’ช โš™๏ธ ๐ŸŽ ๐Ÿ”— *๐Ÿ”ข* ๐Ÿ‘† โš™๏ธ ๐Ÿ›Ž.
    
    ### ๐Ÿ”— ๐Ÿ“„
    
    ๐Ÿ‘ซ ๐Ÿ’ช ๐Ÿ“ฃ ๐Ÿ“จ ๐Ÿ“„ (๐Ÿ’– ๐ŸŽš) โš–๏ธ ๐ŸŽ ๐ŸŽง-๐Ÿ”—:
    
    ```Python hl_lines="6  11"
    {!../../docs_src/dependencies/tutorial006.py!}
    ```
    
    ### ๐Ÿคš โš 
    
    ๐Ÿ‘ซ ๐Ÿ”— ๐Ÿ’ช `raise` โš , ๐ŸŽ ๐Ÿ˜ ๐Ÿ”—:
    
    ```Python hl_lines="8  13"
    {!../../docs_src/dependencies/tutorial006.py!}
    ```
    
    ### ๐Ÿ“จ ๐Ÿ’ฒ
    
    & ๐Ÿ‘ซ ๐Ÿ’ช ๐Ÿ“จ ๐Ÿ’ฒ โš–๏ธ ๐Ÿšซ, ๐Ÿ’ฒ ๐Ÿ† ๐Ÿšซ โš™๏ธ.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/extra-data-types.md

    ## ๐Ÿ–ผ
    
    ๐Ÿ“ฅ ๐Ÿ–ผ *โžก ๐Ÿ› ๏ธ* โฎ๏ธ ๐Ÿ”ข โš™๏ธ ๐Ÿ”› ๐Ÿ†Ž.
    
    //// tab | ๐Ÿ 3๏ธโƒฃ.6๏ธโƒฃ & ๐Ÿ”›
    
    ```Python hl_lines="1  3  12-16"
    {!> ../../docs_src/extra_data_types/tutorial001.py!}
    ```
    
    ////
    
    //// tab | ๐Ÿ 3๏ธโƒฃ.1๏ธโƒฃ0๏ธโƒฃ & ๐Ÿ”›
    
    ```Python hl_lines="1  2  11-15"
    {!> ../../docs_src/extra_data_types/tutorial001_py310.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. docs/zh/docs/deployment/server-workers.md

    ```
    
    </div>
    
    
    ่ฎฉๆˆ‘ไปฌ็œ‹็œ‹ๆฏไธช้€‰้กน็š„ๅซไน‰๏ผš
    
    * `main:app`๏ผš่ฟ™ไธŽ Uvicorn ไฝฟ็”จ็š„่ฏญๆณ•็›ธๅŒ๏ผŒ`main` ่กจ็คบๅไธบ"`main`"็š„ Python ๆจกๅ—๏ผŒๅ› ๆญคๆ˜ฏๆ–‡ไปถ `main.py`ใ€‚ `app` ๆ˜ฏ **FastAPI** ๅบ”็”จ็จ‹ๅบ็š„ๅ˜้‡ๅ็งฐใ€‚
         * ไฝ ๅฏไปฅๆƒณ่ฑก `main:app` ็›ธๅฝ“ไบŽไธ€ไธช Python `import` ่ฏญๅฅ๏ผŒไพ‹ๅฆ‚๏ผš
    
            ```Python
            from main import app
            ```
    
         * ๅ› ๆญค๏ผŒ`main:app` ไธญ็š„ๅ†’ๅท็›ธๅฝ“ไบŽ `from main import app` ไธญ็š„ Python `import` ้ƒจๅˆ†ใ€‚
    
    * `--workers`๏ผš่ฆไฝฟ็”จ็š„worker่ฟ›็จ‹ๆ•ฐ้‡๏ผŒๆฏไธช่ฟ›็จ‹ๅฐ†่ฟ่กŒไธ€ไธช Uvicorn worker่ฟ›็จ‹๏ผŒๅœจๆœฌไพ‹ไธญไธบ 4 ไธชworker่ฟ›็จ‹ใ€‚
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top