Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 874 for tutorial001 (0.08 sec)

  1. docs/em/docs/tutorial/body-updates.md

    👆 💪 ⚙️ `jsonable_encoder` 🗜 🔢 💽 📊 👈 💪 🏪 🎻 (✅ ⏮️ ☁ 💽). 🖼, 🏭 `datetime` `str`.
    
    //// tab | 🐍 3️⃣.6️⃣ & 🔛
    
    ```Python hl_lines="30-35"
    {!> ../../docs_src/body_updates/tutorial001.py!}
    ```
    
    ////
    
    //// tab | 🐍 3️⃣.9️⃣ & 🔛
    
    ```Python hl_lines="30-35"
    {!> ../../docs_src/body_updates/tutorial001_py39.py!}
    ```
    
    ////
    
    //// tab | 🐍 3️⃣.1️⃣0️⃣ & 🔛
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/body-updates.md

    //// tab | Python 3.9+
    
    ```Python hl_lines="30-35"
    {!> ../../docs_src/body_updates/tutorial001_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.6+
    
    ```Python hl_lines="30-35"
    {!> ../../docs_src/body_updates/tutorial001.py!}
    ```
    
    ////
    
    `PUT` используется для получения данных, которые должны полностью заменить существующие данные.
    
    ### Предупреждение о замене
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/path-params.md

    ```Python hl_lines="17"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    #### Get the *enumeration value*
    
    You can get the actual value (a `str` in this case) using `model_name.value`, or in general, `your_enum_member.value`:
    
    ```Python hl_lines="20"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/path-params.md

    ```Python hl_lines="17"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    #### Obtén el *enumeration value*
    
    Puedes obtener el valor exacto (un `str` en este caso) usando `model_name.value`, o en general, `your_enum_member.value`:
    
    ```Python hl_lines="20"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    /// tip | Consejo
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/static-files.md

    # 정적 파일
    
    'StaticFiles'를 사용하여 디렉토리에서 정적 파일을 자동으로 제공할 수 있습니다.
    
    ## `StaticFiles` 사용
    
    * `StaticFiles` 임포트합니다.
    * 특정 경로에 `StaticFiles()` 인스턴스를 "마운트" 합니다.
    
    ```Python hl_lines="2  6"
    {!../../docs_src/static_files/tutorial001.py!}
    ```
    
    /// note | "기술적 세부사항"
    
    `from starlette.staticfiles import StaticFiles` 를 사용할 수도 있습니다.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. docs/pt/docs/how-to/conditional-openapi.md

    Você pode usar facilmente as mesmas configurações do Pydantic para configurar sua OpenAPI gerada e as interfaces de usuário de documentos.
    
    Por exemplo:
    
    ```Python hl_lines="6  11"
    {!../../docs_src/conditional_openapi/tutorial001.py!}
    ```
    
    Aqui declaramos a configuração `openapi_url` com o mesmo padrão de `"/openapi.json"`.
    
    E então o usamos ao criar o aplicativo `FastAPI`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/debugging.md

    ## Call `uvicorn`
    
    In your FastAPI application, import and run `uvicorn` directly:
    
    ```Python hl_lines="1  15"
    {!../../docs_src/debugging/tutorial001.py!}
    ```
    
    ### About `__name__ == "__main__"`
    
    The main purpose of the `__name__ == "__main__"` is to have some code that is executed when your file is called with:
    
    <div class="termy">
    
    ```console
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/query-params-str-validations.md

    ```Python hl_lines="9"
    {!> ../../docs_src/query_params_str_validations/tutorial001.py!}
    ```
    
    ////
    
    查询参数 `q` 的类型为 `str`,默认值为 `None`,因此它是可选的。
    
    ## 额外的校验
    
    我们打算添加约束条件:即使 `q` 是可选的,但只要提供了该参数,则该参数值**不能超过50个字符的长度**。
    
    ### 导入 `Query`
    
    为此,首先从 `fastapi` 导入 `Query`:
    
    ```Python hl_lines="1"
    {!../../docs_src/query_params_str_validations/tutorial002.py!}
    ```
    
    ## 使用 `Query` 作为默认值
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. docs/de/docs/how-to/graphql.md

    Hier ist eine kleine Vorschau, wie Sie Strawberry mit FastAPI integrieren können:
    
    ```Python hl_lines="3  22  25-26"
    {!../../docs_src/graphql/tutorial001.py!}
    ```
    
    Weitere Informationen zu Strawberry finden Sie in der <a href="https://strawberry.rocks/" class="external-link" target="_blank">Strawberry-Dokumentation</a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/templates.md

    ```Python hl_lines="4  11  15-18"
    {!../../docs_src/templates/tutorial001.py!}
    ```
    
    /// note
    
    Before FastAPI 0.108.0, Starlette 0.29.0, the `name` was the first parameter.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top