Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 873 for Python3 (0.2 sec)

  1. docs/en/docs/how-to/graphql.md

        * With <a href="https://tartiflette.github.io/tartiflette-asgi/" class="external-link" target="_blank">Tartiflette ASGI</a> to provide ASGI integration
    * <a href="https://graphene-python.org/" class="external-link" target="_blank">Graphene</a>
        * With <a href="https://github.com/ciscorn/starlette-graphene3" class="external-link" target="_blank">starlette-graphene3</a>
    
    ## GraphQL with Strawberry
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 22:39:38 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. docs/pt/docs/advanced/response-directly.md

    Para esses casos, você pode usar o `jsonable_encoder` para converter seus dados antes de repassá-los para a resposta:
    
    ```Python hl_lines="6-7  21-22"
    {!../../docs_src/response_directly/tutorial001.py!}
    ```
    
    /// note | Detalhes Técnicos
    
    Você também pode utilizar `from starlette.responses import JSONResponse`.
    
    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. docs/zh/docs/advanced/testing-dependencies.md

    这样一来,**FastAPI** 就会调用覆盖依赖项,不再调用原依赖项。
    
    ```Python hl_lines="26-27  30"
    {!../../docs_src/dependency_testing/tutorial001.py!}
    ```
    
    /// tip | "提示"
    
    **FastAPI** 应用中的任何位置都可以实现覆盖依赖项。
    
    原依赖项可用于*路径操作函数*、*路径操作装饰器*(不需要返回值时)、`.include_router()` 调用等。
    
    FastAPI 可以覆盖这些位置的依赖项。
    
    ///
    
    然后,使用 `app.dependency_overrides` 把覆盖依赖项重置为空**字典**:
    
    ```Python
    app.dependency_overrides = {}
    ```
    
    /// tip | "提示"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. fastapi/security/oauth2.py

    from fastapi.security.utils import get_authorization_scheme_param
    from starlette.requests import Request
    from starlette.status import HTTP_401_UNAUTHORIZED, HTTP_403_FORBIDDEN
    
    # TODO: import from typing when deprecating Python 3.9
    from typing_extensions import Annotated, Doc
    
    
    class OAuth2PasswordRequestForm:
        """
        This is a dependency class to collect the `username` and `password` as form data
        for an OAuth2 password flow.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  5. docs/ja/docs/tutorial/response-status-code.md

    * `@app.put()`
    * `@app.delete()`
    * など。
    
    ```Python hl_lines="6"
    {!../../docs_src/response_status_code/tutorial001.py!}
    ```
    
    /// note | "備考"
    
    `status_code`は「デコレータ」メソッド(`get`、`post`など)のパラメータであることに注意してください。すべてのパラメータやボディのように、*path operation関数*のものではありません。
    
    ///
    
    `status_code`パラメータはHTTPステータスコードを含む数値を受け取ります。
    
    /// info | "情報"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. docs/de/docs/project-generation.md

    * Vollständige **Docker**-Integration (Docker-basiert).
    * Docker-Schwarmmodus-Deployment.
    * **Docker Compose**-Integration und Optimierung für die lokale Entwicklung.
    * **Produktionsbereit** Python-Webserver, verwendet Uvicorn und Gunicorn.
    * Python <a href="https://github.com/fastapi/fastapi" class="external-link" target="_blank">**FastAPI**</a>-Backend:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. docs/en/docs/release-notes.md

    ## 0.71.0
    
    ### Features
    
    * ✨ Add docs and tests for Python 3.9 and Python 3.10. PR [#3712](https://github.com/tiangolo/fastapi/pull/3712) by [@tiangolo](https://github.com/tiangolo).
        * You can start with [Python Types Intro](https://fastapi.tiangolo.com/python-types/), it explains what changes between different Python versions, in Python 3.9 and in Python 3.10.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:25:57 UTC 2024
    - 460.3K bytes
    - Viewed (0)
  8. docs/fr/docs/deployment/docker.md

    Dans ce cas, votre `Dockerfile` pourrait ressembler à ceci :
    
    ```Dockerfile
    FROM python:3.7
    
    RUN pip install fastapi uvicorn
    
    EXPOSE 80
    
    COPY ./app /app
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. docs/em/docs/async.md

    ## 🏃 ❓
    
    <abbr title="too long; didn't read"><strong>🆑;👩‍⚕️:</strong></abbr>
    
    🚥 👆 ⚙️ 🥉 🥳 🗃 👈 💬 👆 🤙 👫 ⏮️ `await`, 💖:
    
    ```Python
    results = await some_library()
    ```
    
    ⤴️, 📣 👆 *➡ 🛠️ 🔢* ⏮️ `async def` 💖:
    
    ```Python hl_lines="2"
    @app.get('/')
    async def read_results():
        results = await some_library()
        return results
    ```
    
    /// note
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  10. docs/em/docs/advanced/testing-websockets.md

    # 🔬 *️⃣
    
    👆 💪 ⚙️ 🎏 `TestClient` 💯*️⃣.
    
    👉, 👆 ⚙️ `TestClient` `with` 📄, 🔗*️⃣:
    
    ```Python hl_lines="27-31"
    {!../../docs_src/app_testing/tutorial002.py!}
    ```
    
    /// note
    
    🌅 ℹ, ✅ 💃 🧾 <a href="https://www.starlette.io/testclient/#testing-websocket-sessions" class="external-link" target="_blank">🔬 *️⃣ </a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 371 bytes
    - Viewed (0)
Back to top