Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 874 for python3 (0.05 sec)

  1. docs/de/docs/advanced/dataclasses.md

    Aber FastAPI unterstützt auf die gleiche Weise auch die Verwendung von <a href="https://docs.python.org/3/library/dataclasses.html" class="external-link" target="_blank">`dataclasses`</a>:
    
    ```Python hl_lines="1  7-12  19-20"
    {!../../docs_src/dataclasses/tutorial001.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. docs/ko/docs/tutorial/header-params.md

    ## `Header` 임포트
    
    먼저 `Header`를 임포트합니다:
    
    ```Python hl_lines="3"
    {!../../docs_src/header_params/tutorial001.py!}
    ```
    
    ## `Header` 매개변수 선언
    
    `Path`, `Query` 그리고 `Cookie`를 사용한 동일한 구조를 이용하여 헤더 매개변수를 선언합니다.
    
    첫 번째 값은 기본값이며, 추가 검증이나 어노테이션 매개변수 모두 전달할 수 있습니다:
    
    ```Python hl_lines="9"
    {!../../docs_src/header_params/tutorial001.py!}
    ```
    
    /// note | "기술 세부사항"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. mkdocs.yml

      - footnotes
      - meta
      - toc:
          permalink: true
      - attr_list
      - pymdownx.betterem:
          smart_enable: all
      - pymdownx.caret
      - pymdownx.emoji:
          emoji_index: !!python/name:materialx.emoji.twemoji
          emoji_generator: !!python/name:materialx.emoji.to_svg
      - pymdownx.inlinehilite
      - pymdownx.magiclink
      - pymdownx.smartsymbols
      - pymdownx.superfences
      - pymdownx.tilde
      - pymdownx.tabbed:
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Nov 20 15:26:12 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. docs/ko/docs/project-generation.md

    ## Full Stack FastAPI 템플릿 - 기술 스택과 기능들
    
    - ⚡ [**FastAPI**](https://fastapi.tiangolo.com): Python 백엔드 API.
        - 🧰 [SQLModel](https://sqlmodel.tiangolo.com): Python SQL 데이터 상호작용을 위한 (ORM).
        - 🔍 [Pydantic](https://docs.pydantic.dev): FastAPI에 의해 사용되는, 데이터 검증과 설정관리.
        - 💾 [PostgreSQL](https://www.postgresql.org): SQL 데이터베이스.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Oct 04 11:16:34 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. docs/zh/docs/advanced/response-headers.md

    # 响应头
    
    ## 使用 `Response` 参数
    
    你可以在你的*路径操作函数*中声明一个`Response`类型的参数(就像你可以为cookies做的那样)。
    
    然后你可以在这个*临时*响应对象中设置头部。
    ```Python hl_lines="1  7-8"
    {!../../docs_src/response_headers/tutorial002.py!}
    ```
    
    然后你可以像平常一样返回任何你需要的对象(例如一个`dict`或者一个数据库模型)。如果你声明了一个`response_model`,它仍然会被用来过滤和转换你返回的对象。
    
    **FastAPI**将使用这个临时响应来提取头部(也包括cookies和状态码),并将它们放入包含你返回的值的最终响应中,该响应由任何`response_model`过滤。
    
    你也可以在依赖项中声明`Response`参数,并在其中设置头部(和cookies)。
    
    ## 直接返回 `Response`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. tensorflow/c/BUILD

        ],
    )
    
    # -----------------------------------------------------------------------------
    # Python API target
    
    tf_cuda_library(
        name = "python_api",
        srcs = ["python_api.cc"],
        hdrs = ["python_api.h"],
        visibility = [
            "//tensorflow:internal",
            "//tensorflow/python:__pkg__",
        ],
        deps = [
            ":c_api",
            ":c_api_internal",
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Nov 02 06:47:06 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/path-operation-configuration.md

    `tags`パラメータを`str`の`list`(通常は1つの`str`)と一緒に渡すと、*path operation*にタグを追加できます:
    
    ```Python hl_lines="17  22  27"
    {!../../docs_src/path_operation_configuration/tutorial002.py!}
    ```
    
    これらはOpenAPIスキーマに追加され、自動ドキュメントのインターフェースで使用されます:
    
    <img src="https://fastapi.tiangolo.com/img/tutorial/path-operation-configuration/image01.png">
    
    ## 概要と説明
    
    `summary`と`description`を追加できます:
    
    ```Python hl_lines="20-21"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/metadata.md

    Você pode defini-los da seguinte maneira:
    
    ```Python hl_lines="3-16  19-32"
    {!../../docs_src/metadata/tutorial001.py!}
    ```
    
    /// tip | Dica
    
    Você pode escrever Markdown no campo `description` e ele será renderizado na saída.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 10:36:14 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/metadata.md

    你可以按如下方式设置它们:
    
    ```Python hl_lines="4-6"
    {!../../docs_src/metadata/tutorial001.py!}
    ```
    
    /// tip
    
    您可以在 `description` 字段中编写 Markdown,它将在输出中呈现。
    
    ///
    
    通过这样设置,自动 API 文档看起来会像:
    
    <img src="/img/tutorial/metadata/image01.png">
    
    ## 标签元数据
    
    ### 创建标签元数据
    
    让我们在带有标签的示例中为 `users` 和 `items` 试一下。
    
    创建标签元数据并把它传递给 `openapi_tags` 参数:
    
    ```Python hl_lines="3-16  18"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. docs/zh/docs/async.md

    这一点,再加上 Python 是**数据科学**、机器学习(尤其是深度学习)的主要语言这一简单事实,使得 **FastAPI** 与数据科学/机器学习 Web API 和应用程序(以及其他许多应用程序)非常匹配。
    
    了解如何在生产环境中实现这种并行性,可查看此文 [Deployment](deployment/index.md){.internal-link target=_blank}。
    
    ## `async` 和 `await`
    
    现代版本的 Python 有一种非常直观的方式来定义异步代码。这使它看起来就像正常的"顺序"代码,并在适当的时候"等待"。
    
    当有一个操作需要等待才能给出结果,且支持这个新的 Python 特性时,您可以编写如下代码:
    
    ```Python
    burgers = await get_burgers(2)
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top