Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for utils (1.81 sec)

  1. docs/em/docs/how-to/extending-openapi.md

    ⚫️ 📨 🎻 📨 ⏮️ 🏁 🈸 `.openapi()` 👩‍🔬.
    
    🔢, ⚫️❔ 👩‍🔬 `.openapi()` 🔨 ✅ 🏠 `.openapi_schema` 👀 🚥 ⚫️ ✔️ 🎚 & 📨 👫.
    
    🚥 ⚫️ 🚫, ⚫️ 🏗 👫 ⚙️ 🚙 🔢 `fastapi.openapi.utils.get_openapi`.
    
    & 👈 🔢 `get_openapi()` 📨 🔢:
    
    * `title`: 🗄 📛, 🎦 🩺.
    * `version`: ⏬ 👆 🛠️, ✅ `2.5.0`.
    * `openapi_version`: ⏬ 🗄 🔧 ⚙️. 🔢, ⏪: `3.0.2`.
    * `description`: 📛 👆 🛠️.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 2.7K bytes
    - Viewed (1)
  2. docs/de/docs/how-to/extending-openapi.md

    Standardmäßig überprüft die Methode `.openapi()` die Eigenschaft `.openapi_schema`, um zu sehen, ob diese Inhalt hat, und gibt diesen zurück.
    
    Ist das nicht der Fall, wird der Inhalt mithilfe der Hilfsfunktion unter `fastapi.openapi.utils.get_openapi` generiert.
    
    Und diese Funktion `get_openapi()` erhält als Parameter:
    
    * `title`: Der OpenAPI-Titel, der in der Dokumentation angezeigt wird.
    * `version`: Die Version Ihrer API, z. B. `2.5.0`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 14 16:44:05 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  3. docs/en/docs/alternatives.md

    But it was created before there existed Python type hints. So, to define every <abbr title="the definition of how data should be formed">schema</abbr> you need to use specific utils and classes provided by Marshmallow.
    
    !!! check "Inspired **FastAPI** to"
        Use code to define "schemas" that provide data types and validation, automatically.
    
    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)
  4. docs/zh/docs/advanced/extending-openapi.md

    作为应用对象创建的组成部分,要注册 `/openapi.json` (或其它为 `openapi_url` 设置的任意内容)*路径操作*。
    
    它只返回包含应用的 `.openapi()` 方法操作结果的 JSON 响应。
    
    但默认情况下,`.openapi()` 只是检查 `.openapi_schema` 属性是否包含内容,并返回其中的内容。
    
    如果 `.openapi_schema` 属性没有内容,该方法就使用 `fastapi.openapi.utils.get_openapi` 工具函数生成内容。
    
    `get_openapi()` 函数接收如下参数:
    
    * `title`:文档中显示的 OpenAPI 标题
    * `version`:API 的版本号,例如 `2.5.0`
    * `openapi_version`: OpenAPI 规范的版本号,默认为最新版: `3.0.2`
    * `description`:API 的描述说明
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Sat Mar 30 22:46:12 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  5. docs/en/docs/how-to/extending-openapi.md

    By default, what the method `.openapi()` does is check the property `.openapi_schema` to see if it has contents and return them.
    
    If it doesn't, it generates them using the utility function at `fastapi.openapi.utils.get_openapi`.
    
    And that function `get_openapi()` receives as parameters:
    
    * `title`: The OpenAPI title, shown in the docs.
    * `version`: The version of your API, e.g. `2.5.0`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  6. docs/en/docs/how-to/sql-databases-peewee.md

    !!! tip
        We only need to create one `PeeweeGetterDict` class, and we can use it in all the Pydantic *models* / schemas.
    
    ## CRUD utils
    
    Now let's see the file `sql_app/crud.py`.
    
    ### Create all the CRUD utils
    
    Create all the same CRUD utils as in the SQLAlchemy tutorial, all the code is very similar:
    
    ```Python hl_lines="1  4-5  8-9  12-13  16-20  23-24  27-30"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  7. docs/fr/docs/history-design-future.md

    **FastAPI** n'existerait pas sans le travail antérieur d'autres personnes.
    
    Il y a eu de nombreux outils créés auparavant qui ont contribué à inspirer sa création.
    
    J'ai évité la création d'un nouveau framework pendant plusieurs années. J'ai d'abord essayé de résoudre toutes les fonctionnalités couvertes par **FastAPI** en utilisant de nombreux frameworks, plug-ins et outils différents.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  8. docs/fr/docs/tutorial/path-params.md

    il existe de nombreux outils compatibles.
    
    Grâce à cela, **FastAPI** lui-même fournit une documentation alternative (utilisant ReDoc), qui peut être lue
    sur <a href="http://127.0.0.1:8000/redoc" class="external-link" target="_blank">http://127.0.0.1:8000/redoc</a> :
    
    <img src="/img/tutorial/path-params/image02.png">
    
    De la même façon, il existe bien d'autres outils compatibles, y compris des outils de génération de code
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10K bytes
    - Viewed (0)
  9. docs/fr/docs/deployment/index.md

    ## Stratégies de déploiement
    
    Il existe plusieurs façons de procéder, en fonction de votre cas d'utilisation spécifique et des outils que vous
    utilisez.
    
    Vous pouvez **déployer un serveur** vous-même en utilisant une combinaison d'outils, vous pouvez utiliser un **service
    cloud** qui fait une partie du travail pour vous, ou encore d'autres options possibles.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jun 24 14:47:15 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  10. docs/en/docs/release-notes.md

    * ♻ Change a `dict()` for `{}` in `fastapi/utils.py`. PR [#3138](https://github.com/tiangolo/fastapi/pull/3138) by [@ShahriyarR](https://github.com/ShahriyarR).
    * ♻ Move internal variable for errors in `jsonable_encoder` to put related code closer. PR [#4560](https://github.com/tiangolo/fastapi/pull/4560) by [@GuilleQP](https://github.com/GuilleQP).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
Back to top