Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 497 for declare (1.2 sec)

  1. docs/ru/docs/tutorial/schema-extra-example.md

    # Объявление примеров данных запроса { #declare-request-example-data }
    
    Вы можете объявлять примеры данных, которые ваше приложение может получать.
    
    Вот несколько способов, как это сделать.
    
    ## Дополнительные данные JSON Schema в моделях Pydantic { #extra-json-schema-data-in-pydantic-models }
    
    Вы можете объявить `examples` для модели Pydantic, которые будут добавлены в сгенерированную JSON Schema.
    
    //// tab | Pydantic v2
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/path-params.md

    ///
    
    ### Einen *Pfad-Parameter* deklarieren { #declare-a-path-parameter }
    
    Dann erstellen Sie einen *Pfad-Parameter*, der als Typ die gerade erstellte Enum-Klasse hat (`ModelName`):
    
    {* ../../docs_src/path_params/tutorial005_py39.py hl[16] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/resources/META-INF/maven/extension.xml

          | provoke linkage errors for wagons contributed by build extensions. We also don't need to exclude the wagons
          | from plugins. Plugins that use wagons directly and declare the corresponding dependency will simply use a
          | wagon from their plugin realm.
         -->
      </exportedArtifacts>
    </extension>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Mar 24 14:07:06 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/body.md

    Da `description` und `tax` optional sind (mit `None` als Defaultwert), wäre folgendes JSON „`object`“ auch gültig:
    
    ```JSON
    {
        "name": "Foo",
        "price": 45.2
    }
    ```
    
    ## Als Parameter deklarieren { #declare-it-as-a-parameter }
    
    Um es zu Ihrer *Pfadoperation* hinzuzufügen, deklarieren Sie es auf die gleiche Weise, wie Sie Pfad- und Query-Parameter deklariert haben:
    
    {* ../../docs_src/body/tutorial001_py310.py hl[16] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. README.md

    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-02-redoc-simple.png)
    
    ## Example upgrade
    
    Now modify the file `main.py` to receive a body from a `PUT` request.
    
    Declare the body using standard Python types, thanks to Pydantic.
    
    ```Python hl_lines="4  9-12  25-27"
    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 25 11:01:37 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/dependencies/index.md

    ///
    
    ### Импорт `Depends` { #import-depends }
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[3] *}
    
    ### Объявите зависимость в «зависимом» { #declare-the-dependency-in-the-dependant }
    
    Точно так же, как вы используете `Body`, `Query` и т. д. с параметрами вашей *функции обработки пути*, используйте `Depends` с новым параметром:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 15.4K bytes
    - Viewed (1)
  7. docs/ru/docs/tutorial/path-params.md

    Если интересно, то "AlexNet", "ResNet" и "LeNet" - это названия <abbr title="Технически, архитектуры моделей глубокого обучения">моделей</abbr> Машинного обучения.
    
    ///
    
    ### Определение *параметра пути* { #declare-a-path-parameter }
    
    Определите *параметр пути*, используя в аннотации типа класс перечисления (`ModelName`), созданный ранее:
    
    {* ../../docs_src/path_params/tutorial005_py39.py hl[16] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. docs/en/docs/index.md

    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-02-redoc-simple.png)
    
    ## Example upgrade { #example-upgrade }
    
    Now modify the file `main.py` to receive a body from a `PUT` request.
    
    Declare the body using standard Python types, thanks to Pydantic.
    
    ```Python hl_lines="4  9-12  25-27"
    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 25 11:01:37 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  9. docs/fr/docs/features.md

    Vous écrivez du python standard avec des annotations de types:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Déclare une variable comme étant une str
    # et profitez de l'aide de votre IDE dans cette fonction
    def main(user_id: str):
        return user_id
    
    
    # Un modèle Pydantic
    class User(BaseModel):
        id: int
        name: str
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. helm/minio/README.md

    ```
    
    ### NetworkPolicy
    
    To enable network policy for MinIO,
    install [a networking plugin that implements the Kubernetes
    NetworkPolicy spec](https://kubernetes.io/docs/tasks/administer-cluster/declare-network-policy#before-you-begin),
    and set `networkPolicy.enabled` to `true`.
    
    For Kubernetes v1.5 & v1.6, you must also turn on NetworkPolicy by setting
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top