Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 224 for latest (0.14 sec)

  1. .github/workflows/test.yml

          - name: Install Dependencies
            if: steps.cache.outputs.cache-hit != 'true'
            run: pip install -r requirements-tests.txt
          - name: Install Pydantic v2
            run: pip install "pydantic>=2.0.2,<3.0.0"
          - name: Lint
            run: bash scripts/lint.sh
    
      test:
        runs-on: ubuntu-latest
        strategy:
          matrix:
            python-version:
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 4.4K bytes
    - Viewed (2)
  2. docs/en/docs/advanced/dataclasses.md

    ```Python hl_lines="1  7-12  19-20"
    {!../../../docs_src/dataclasses/tutorial001.py!}
    ```
    
    This is still supported thanks to **Pydantic**, as it has <a href="https://docs.pydantic.dev/latest/concepts/dataclasses/#use-of-stdlib-dataclasses-with-basemodel" class="external-link" target="_blank">internal support for `dataclasses`</a>.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  3. .github/workflows/publish.yml

    name: Publish
    
    on:
      release:
        types:
          - created
    
    jobs:
      publish:
        runs-on: ubuntu-latest
        strategy:
          matrix:
            package:
              - fastapi
              - fastapi-slim
        permissions:
          id-token: write
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v4
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 30 06:38:13 GMT 2024
    - 1K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/response-model.md

    !!! info
        FastAPI 通过 Pydantic 模型的 `.dict()` 配合 <a href="https://docs.pydantic.dev/latest/concepts/serialization/#modeldict" class="external-link" target="_blank">该方法的 `exclude_unset` 参数</a> 来实现此功能。
    
    !!! info
        你还可以使用:
    
        * `response_model_exclude_defaults=True`
        * `response_model_exclude_none=True`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  5. docs/en/docs/alternatives.md

    * WebSocket support.
    * In-process background tasks.
    * Startup and shutdown events.
    * Test client built on HTTPX.
    * CORS, GZip, Static Files, Streaming responses.
    * Session and Cookie support.
    * 100% test coverage.
    * 100% type annotated codebase.
    * Few hard dependencies.
    
    Starlette is currently the fastest Python framework tested. Only surpassed by Uvicorn, which is not a framework, but a server.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  6. .github/workflows/test-redistribute.yml

    name: Test Redistribute
    
    on:
      push:
        branches:
          - master
      pull_request:
        types:
          - opened
          - synchronize
    
    jobs:
      test-redistribute:
        runs-on: ubuntu-latest
        strategy:
          matrix:
            package:
              - fastapi
              - fastapi-slim
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 30 06:38:13 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/response-model.md

    !!! info "情報"
        以下も使用することができます:
    
        * `response_model_exclude_defaults=True`
        * `response_model_exclude_none=True`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/extra-data-types.md

    * `datetime.timedelta`:
        * Pythonの`datetime.timedelta`です。
        * リクエストとレスポンスでは合計秒数の`float`で表現されます。
        * Pydanticでは「ISO 8601 time diff encoding」として表現することも可能です。<a href="https://docs.pydantic.dev/latest/concepts/serialization/" class="external-link" target="_blank">詳細はドキュメントを参照してください</a>。
    * `frozenset`:
        * リクエストとレスポンスでは`set`と同じように扱われます:
            * リクエストでは、リストが読み込まれ、重複を排除して`set`に変換されます。
            * レスポンスでは`set`が`list`に変換されます。
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  9. docs/en/docs/python-types.md

    If you can use the **latest versions of Python**, use the examples for the latest version, those will have the **best and simplest syntax**, for example, "**Python 3.10+**".
    
    #### List
    
    For example, let's define a variable to be a `list` of `str`.
    
    === "Python 3.9+"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  10. docs/em/docs/alternatives.md

    !!! check "😮 **FastAPI** "
        ⚙️ 📟 🔬 "🔗" 👈 🚚 💽 🆎 &amp; 🔬, 🔁.
    
    ### <a href="https://webargs.readthedocs.io/en/latest/" class="external-link" target="_blank">Webarg</a>
    
    ➕1️⃣ 🦏 ⚒ ✔ 🔗 <abbr title="reading and converting to Python data">✍</abbr> 📊 ⚪️➡️ 📨 📨.
    
    Webarg 🧰 👈 ⚒ 🚚 👈 🔛 🔝 📚 🛠️, 🔌 🏺.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 18.7K bytes
    - Viewed (0)
Back to top