Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for notes (0.18 sec)

  1. docs/uk/docs/tutorial/index.md

    <div class="termy">
    
    ```console
    $ pip install "fastapi[all]"
    
    ---> 100%
    ```
    
    </div>
    
    ...який також включає `uvicorn`, який ви можете використовувати як сервер, який запускає ваш код.
    
    !!! note
        Ви також можете встановити його частина за частиною.
    
        Це те, що ви, ймовірно, зробили б, коли захочете розгорнути свою програму у виробничому середовищі:
    
        ```
        pip install fastapi
        ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Sep 02 15:29:36 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/index.md

    <div class="termy">
    
    ```console
    $ pip install "fastapi[all]"
    
    ---> 100%
    ```
    
    </div>
    
    ...isso também inclui o `uvicorn`, que você pode usar como o servidor que rodará seu código.
    
    !!! note "Nota"
        Você também pode instalar parte por parte.
    
        Isso é provavelmente o que você faria quando você quisesse lançar sua aplicação em produção:
    
        ```
        pip install fastapi
        ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/index.md

    자습시에는 모든 선택적인 의존성 및 기능을 함께 설치하는 것을 추천합니다:
    
    <div class="termy">
    
    ```console
    $ pip install "fastapi[all]"
    
    ---> 100%
    ```
    
    </div>
    
    ...이는 코드를 실행하는 서버로 사용할 수 있는 `uvicorn` 또한 포함하고 있습니다.
    
    !!! note "참고"
        부분적으로 설치할 수도 있습니다.
    
        애플리케이션을 운영 환경에 배포하려는 경우 다음과 같이 합니다:
    
        ```
        pip install fastapi
        ```
    
        추가로 서버 역할을 하는 `uvicorn`을 설치합니다:
    
        ```
        pip install uvicorn
        ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Feb 02 17:39:46 GMT 2024
    - 3K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/dependencies/index.md

    即,既可以使用异步的 `async def`,也可以使用普通的 `def` 定义依赖项。
    
    在普通的 `def` *路径操作函数*中,可以声明异步的 `async def` 依赖项;也可以在异步的 `async def` *路径操作函数*中声明普通的 `def` 依赖项。
    
    上述这些操作都是可行的,**FastAPI** 知道该怎么处理。
    
    !!! note "笔记"
    
        如里不了解异步,请参阅[异步:*“着急了?”*](../../async.md){.internal-link target=_blank} 一章中 `async` 和 `await` 的内容。
    
    ## 与 OpenAPI 集成
    
    依赖项及子依赖项的所有请求声明、验证和需求都可以集成至同一个 OpenAPI 概图。
    
    所以,交互文档里也会显示依赖项的所有信息:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Jun 24 14:47:15 GMT 2023
    - 7K bytes
    - Viewed (0)
  5. docs/zh/docs/index.md

    @app.get("/")
    async def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    async def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    **Note**:
    
    如果你不知道是否会用到,可以查看文档的 _"In a hurry?"_ 章节中 <a href="https://fastapi.tiangolo.com/zh/async/#in-a-hurry" target="_blank">关于 `async` 和 `await` 的部分</a>。
    
    </details>
    
    ### 运行
    
    通过以下命令运行服务器:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/index.md

    🔰, 👆 💪 💚 ❎ ⚫️ ⏮️ 🌐 📦 🔗 &amp; ⚒:
    
    <div class="termy">
    
    ```console
    $ pip install "fastapi[all]"
    
    ---> 100%
    ```
    
    </div>
    
    ...👈 🔌 `uvicorn`, 👈 👆 💪 ⚙️ 💽 👈 🏃 👆 📟.
    
    !!! note
        👆 💪 ❎ ⚫️ 🍕 🍕.
    
        👉 ⚫️❔ 👆 🔜 🎲 🕐 👆 💚 🛠️ 👆 🈸 🏭:
    
        ```
        pip install fastapi
        ```
    
        ❎ `uvicorn` 👷 💽:
    
        ```
        pip install "uvicorn[standard]"
        ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Jun 24 14:47:15 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/dependencies/index.md

    Это всё не важно. **FastAPI** знает, что нужно сделать. 😎
    
    !!! note "Информация"
        Если вам эта тема не знакома, прочтите [Async: *"In a hurry?"*](../../async.md){.internal-link target=_blank} раздел о `async` и `await` в документации.
    
    ## Интеграция с OpenAPI
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/dependencies/index.md

    Es spielt keine Rolle. **FastAPI** weiß, was zu tun ist.
    
    !!! note "Hinweis"
        Wenn Ihnen das nichts sagt, lesen Sie den [Async: *„In Eile?“*](../../async.md#in-eile){.internal-link target=_blank}-Abschnitt über `async` und `await` in der Dokumentation.
    
    ## Integriert in OpenAPI
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 18:01:10 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/dependencies/index.md

    `async def`や通常の`def`を使用することができます。
    
    また、通常の`def`*path operation関数*の中に`async def`を入れて依存関係を宣言したり、`async def`*path operation関数*の中に`def`を入れて依存関係を宣言したりすることなどができます。
    
    それは重要ではありません。**FastAPI** は何をすべきかを知っています。
    
    !!! note "備考"
        わからない場合は、ドキュメントの[Async: *"In a hurry?"*](../../async.md){.internal-link target=_blank}の中の`async`と`await`についてのセクションを確認してください。
    
    ## OpenAPIとの統合
    
    依存関係(およびサブ依存関係)のすべてのリクエスト宣言、検証、および要件は、同じOpenAPIスキーマに統合されます。
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Jan 15 16:08:16 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  10. docs/id/docs/tutorial/index.md

    <div class="termy">
    
    ```console
    $ pip install "fastapi[all]"
    
    ---> 100%
    ```
    
    </div>
    
    ...yang juga termasuk `uvicorn`, yang dapat kamu gunakan sebagai server yang menjalankan kodemu.
    
    !!! note "Catatan"
        Kamu juga dapat meng-installnya bagian demi bagian.
    
        Hal ini mungkin yang akan kamu lakukan ketika kamu hendak menyebarkan (men-deploy) aplikasimu ke tahap produksi:
    
        ```
        pip install fastapi
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2.9K bytes
    - Viewed (0)
Back to top