Search Options

Results per page
Sort
Preferred Languages
Advance

Results 801 - 810 of 895 for python (0.06 sec)

  1. docs/ja/docs/how-to/conditional-openapi.md

    * など
    
    それでも、例えば本番環境のような特定の環境のみで、あるいは環境変数の設定によってAPIドキュメントをどうしても無効にしたいという、非常に特殊なユースケースがあるかもしれません。
    
    ## 設定と環境変数による条件付き OpenAPI
    
    生成するOpenAPIとドキュメントUIの構成は、共通のPydanticの設定を使用して簡単に切り替えられます。
    
    例えば、
    
    ```Python hl_lines="6  11"
    {!../../docs_src/conditional_openapi/tutorial001.py!}
    ```
    
    ここでは `openapi_url` の設定を、デフォルトの `"/openapi.json"` のまま宣言しています。
    
    そして、これを `FastAPI` appを作る際に使います。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. fastapi/routing.py

        Read more about it in the
        [FastAPI docs for Bigger Applications - Multiple Files](https://fastapi.tiangolo.com/tutorial/bigger-applications/).
    
        ## Example
    
        ```python
        from fastapi import APIRouter, FastAPI
    
        app = FastAPI()
        router = APIRouter()
    
    
        @router.get("/users/", tags=["users"])
        async def read_users():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 172.1K bytes
    - Viewed (0)
  3. docs/em/docs/deployment/manually.md

    ///
    
    ## Hypercorn ⏮️ 🎻
    
    💃 &amp; **FastAPI** ⚓️ 🔛 <a href="https://anyio.readthedocs.io/en/stable/" class="external-link" target="_blank">AnyIO</a>, ❔ ⚒ 👫 🔗 ⏮️ 👯‍♂️ 🐍 🐩 🗃 <a href="https://docs.python.org/3/library/asyncio-task.html" class="external-link" target="_blank">✳</a> &amp; <a href="https://trio.readthedocs.io/en/stable/" class="external-link" target="_blank">🎻</a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. docs/en/docs/management-tasks.md

        * Unless it's a feature we want to discourage, like support for a corner case that we don't want users to use.
    * The docs should include a source example file, not write Python directly in Markdown.
    * If the source example(s) file can have different syntax for Python 3.8, 3.9, 3.10, there should be different versions of the file, and they should be shown in tabs in the docs.
    * There should be tests testing the source example.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 16 21:56:33 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. docs/ko/docs/deployment/docker.md

    * 노마드 같은 다른 도구로 배포하기
    * 여러분의 컨테이너 이미지를 배포해주는 클라우드 서비스로 배포하기
    
    ## Poetry의 도커 이미지
    
    만약 여러분들이 프로젝트 의존성을 관리하기 위해 <a href="https://python-poetry.org/" class="external-link" target="_blank">Poetry</a>를 사용한다면, 도커의 멀티-스테이지 빌딩을 사용할 수 있습니다:
    
    ```{ .dockerfile .annotate }
    # (1)
    FROM python:3.9 as requirements-stage
    
    # (2)
    WORKDIR /tmp
    
    # (3)
    RUN pip install poetry
    
    # (4)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/dataclasses.md

    # Using Dataclasses
    
    FastAPI is built on top of **Pydantic**, and I have been showing you how to use Pydantic models to declare requests and responses.
    
    But FastAPI also supports using <a href="https://docs.python.org/3/library/dataclasses.html" class="external-link" target="_blank">`dataclasses`</a> the same way:
    
    {* ../../docs_src/dataclasses/tutorial001.py hl[1,7:12,19:20] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:35:06 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. docs/em/docs/history-design-future.md

    ## 🔧
    
    ⤴️ 👤 💸 🕰 🔧 👩‍💻 "🛠️" 👤 💚 ✔️ 👩‍💻 (👩‍💻 ⚙️ FastAPI).
    
    👤 💯 📚 💭 🏆 🌟 🐍 👨‍🎨: 🗒, 🆚 📟, 🎠 🧢 👨‍🎨.
    
    🏁 <a href="https://www.jetbrains.com/research/python-developers-survey-2018/#development-tools" class="external-link" target="_blank">🐍 👩‍💻 🔬</a>, 👈 📔 🔃 8️⃣0️⃣ 💯 👩‍💻.
    
    ⚫️ ⛓ 👈 **FastAPI** 🎯 💯 ⏮️ 👨‍🎨 ⚙️ 8️⃣0️⃣ 💯 🐍 👩‍💻. &amp; 🏆 🎏 👨‍🎨 😑 👷 ➡, 🌐 🚮 💰 🔜 👷 🌖 🌐 👨‍🎨.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/index.md

    # 教程 - 用户指南
    
    本教程将一步步向你展示如何使用 **FastAPI** 的绝大部分特性。
    
    各个章节的内容循序渐进,但是又围绕着单独的主题,所以你可以直接跳转到某个章节以解决你的特定需求。
    
    本教程同样可以作为将来的参考手册。
    
    你可以随时回到本教程并查阅你需要的内容。
    
    ## 运行代码
    
    所有代码片段都可以复制后直接使用(它们实际上是经过测试的 Python 文件)。
    
    要运行任何示例,请将代码复制到 `main.py` 文件中,然后使用以下命令启动 `uvicorn`:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_experimental.cc

      if (enable) {
        optimizer_options->set_global_jit_level(tensorflow::OptimizerOptions::ON_1);
    
        // These XLA flags are needed to trigger XLA properly from C (more generally
        // non-Python) clients. If this API is called again with `enable` set to
        // false, it is safe to keep these flag values as is.
        tensorflow::MarkForCompilationPassFlags* flags =
            tensorflow::GetMarkForCompilationPassFlags();
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  10. docs/en/docs/how-to/custom-request-and-route.md

    {* ../../docs_src/custom_request_and_route/tutorial001.py hl[18:26] *}
    
    /// note | "Technical Details"
    
    A `Request` has a `request.scope` attribute, that's just a Python `dict` containing the metadata related to the request.
    
    A `Request` also has a `request.receive`, that's a function to "receive" the body of the request.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 22:39:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top