Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 524 for model2 (0.05 sec)

  1. docs/fr/docs/features.md

    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
        joined: date
    ```
    Qui peuvent ensuite être utilisés comme cela:
    
    ```Python
    my_user: User = User(id=3, name="John Doe", joined="2018-07-19")
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/response-directly.md

    # Return a Response Directly { #return-a-response-directly }
    
    When you create a **FastAPI** *path operation* you can normally return any data from it: a `dict`, a `list`, a Pydantic model, a database model, etc.
    
    By default, **FastAPI** would automatically convert that return value to JSON using the `jsonable_encoder` explained in [JSON Compatible Encoder](../tutorial/encoder.md){.internal-link target=_blank}.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. okhttp-tls/Module.md

    # Module okhttp-tls
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Apr 02 11:27:49 UTC 2019
    - 68 bytes
    - Viewed (0)
  4. guava/module.json

    {
      "formatVersion": "1.1",
      "component": {
        "group": "${pom.groupId}",
        "module": "${pom.artifactId}",
        "version": "${pom.version}",
        "attributes": {
          "org.gradle.status": "${module.status}"
        }
      },
      "createdBy": {
        "maven": {
          "version": "${maven.version}",
          "buildId": "${maven.build.version}"
        }
      },
      "variants": [
        {
          "name": "${variant.jvmEnvironmentVariantName}ApiElements",
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Mar 19 16:59:18 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. docs/en/docs/features.md

    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-06-redoc-02.png)
    
    ### Just Modern Python { #just-modern-python }
    
    It's all based on standard **Python type** declarations (thanks to Pydantic). No new syntax to learn. Just standard modern Python.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/settings.md

    Import `BaseSettings` from Pydantic and create a sub-class, very much like with a Pydantic model.
    
    The same way as with Pydantic models, you declare class attributes with type annotations, and possibly default values.
    
    You can use all the same validation features and tools you use for Pydantic models, like different data types and additional validations with `Field()`.
    
    //// tab | Pydantic v2
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  7. docs/es/docs/how-to/general.md

    ## Filtrar Datos - Seguridad
    
    Para asegurarte de que no devuelves más datos de los que deberías, lee la documentación para [Tutorial - Modelo de Response - Tipo de Retorno](../tutorial/response-model.md){.internal-link target=_blank}.
    
    ## Etiquetas de Documentación - OpenAPI
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/extra-models.md

    Sebastián Ramírez <******@****.***> 1731896744 +0100
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. docs/ko/docs/tutorial/extra-models.md

    timothy <******@****.***> 1748612313 +0900
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 13:38:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/extra-models.md

    Sebastián Ramírez <******@****.***> 1731896744 +0100
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top