Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for Models (0.26 sec)

  1. docs/de/docs/tutorial/body-nested-models.md

    === "Python 3.10+"
    
        ```Python hl_lines="12"
        {!> ../../../docs_src/body_nested_models/tutorial002_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="14"
        {!> ../../../docs_src/body_nested_models/tutorial002_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="14"
        {!> ../../../docs_src/body_nested_models/tutorial002.py!}
        ```
    
    ## Set-Typen
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/extra-models.md

        {!> ../../../docs_src/extra_models/tutorial003_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="1  14-15  18-20  33"
        {!> ../../../docs_src/extra_models/tutorial003.py!}
        ```
    
    ### `Union` в Python 3.10
    
    В этом примере мы передаём `Union[PlaneItem, CarItem]` в качестве значения аргумента `response_model`.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  3. fastapi/openapi/models.py

        security: Optional[List[Dict[str, List[str]]]] = None
        tags: Optional[List[Tag]] = None
        externalDocs: Optional[ExternalDocumentation] = None
    
    
    _model_rebuild(Schema)
    _model_rebuild(Operation)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 22:49:33 GMT 2024
    - 15K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/body-nested-models.md

    === "Python 3.10+"
    
        ```Python hl_lines="12"
        {!> ../../../docs_src/body_nested_models/tutorial002_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="14"
        {!> ../../../docs_src/body_nested_models/tutorial002_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="14"
        {!> ../../../docs_src/body_nested_models/tutorial002.py!}
        ```
    
    ## Типы множеств
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  5. tests/test_tuples.py

                            },
                        },
                    }
                },
                "/tuple-of-models/": {
                    "post": {
                        "summary": "Post Tuple Of Models",
                        "operationId": "post_tuple_of_models_tuple_of_models__post",
                        "requestBody": {
                            "content": {
                                "application/json": {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/sql-databases.md

    ## Create the Pydantic models
    
    Now let's check the file `sql_app/schemas.py`.
    
    !!! tip
        To avoid confusion between the SQLAlchemy *models* and the Pydantic *models*, we will have the file `models.py` with the SQLAlchemy models, and the file `schemas.py` with the Pydantic models.
    
        These Pydantic models define more or less a "schema" (a valid data shape).
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  7. maven-core/src/test/remote-repo/org/apache/maven/its/plugins/maven-it-plugin/0.1/maven-it-plugin-0.1.jar

    Does nothing. false true false false false true generate-sources org.apache.maven.plugin.coreit.CMojo java per-lookup once-per-session models java.lang.String[] false true version java.lang.String false true ${version} xpp3-writer Does nothing. false true false false false true generate-sources org.apache.maven.plugin.coreit.BMojo java per-lookup once-per-session models java.lang.String[] false true version java.lang.String false true ${version} org.apache.maven maven-plugin-api jar 2.0 org/apache/m...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Oct 23 23:48:02 GMT 2009
    - 13.2K bytes
    - Viewed (0)
  8. docs/en/docs/how-to/sql-databases-peewee.md

    ## Create the Pydantic models
    
    Now let's check the file `sql_app/schemas.py`.
    
    !!! tip
        To avoid confusion between the Peewee *models* and the Pydantic *models*, we will have the file `models.py` with the Peewee models, and the file `schemas.py` with the Pydantic models.
    
        These Pydantic models define more or less a "schema" (a valid data shape).
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  9. fastapi/encoders.py

            Doc(
                """
                Pydantic's `include` parameter, passed to Pydantic models to set the
                fields to include.
                """
            ),
        ] = None,
        exclude: Annotated[
            Optional[IncEx],
            Doc(
                """
                Pydantic's `exclude` parameter, passed to Pydantic models to set the
                fields to exclude.
                """
            ),
        ] = None,
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  10. fastapi/_compat.py

        def _model_rebuild(model: Type[BaseModel]) -> None:
            model.model_rebuild()
    
        def _model_dump(
            model: BaseModel, mode: Literal["json", "python"] = "json", **kwargs: Any
        ) -> Any:
            return model.model_dump(mode=mode, **kwargs)
    
        def _get_model_config(model: BaseModel) -> Any:
            return model.model_config
    
        def get_schema_from_model_field(
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
Back to top