Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 115 for Models (0.15 seconds)

  1. fastapi/openapi/models.py

    Sofie Van Landeghem <******@****.***> 1773575079 +0100
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  2. docs/ru/docs/tutorial/extra-models.md

    ///
    
    ## Множественные модели { #multiple-models }
    
    Ниже изложена основная идея того, как могут выглядеть эти модели с полями для паролей, а также описаны места, где они используются:
    
    {* ../../docs_src/extra_models/tutorial001_py310.py hl[7,9,14,20,22,27:28,31:33,38:39] *}
    
    ### Про `**user_in.model_dump()` { #about-user-in-model-dump }
    
    #### `.model_dump()` из Pydantic { #pydantics-model-dump }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  3. docs/uk/docs/tutorial/body-nested-models.md

    # Тіло - Вкладені моделі { #body-nested-models }
    
    З **FastAPI** ви можете визначати, перевіряти, документувати та використовувати моделі, які можуть бути вкладені на будь-яку глибину (завдяки Pydantic).
    
    ## Поля списку { #list-fields }
    
    Ви можете визначити атрибут як підтип. Наприклад, Python-список (`list`):
    
    {* ../../docs_src/body_nested_models/tutorial001_py310.py hl[12] *}
    
    Це зробить `tags` списком, хоча не визначається тип елементів списку.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  4. docs/ru/docs/tutorial/body-nested-models.md

    # Body - Вложенные модели { #body-nested-models }
    
    С помощью **FastAPI** вы можете определять, валидировать, документировать и использовать модели произвольной глубины вложенности (благодаря Pydantic).
    
    ## Поля-списки { #list-fields }
    
    Вы можете определить атрибут как подтип. Например, Python-тип `list`:
    
    {* ../../docs_src/body_nested_models/tutorial001_py310.py hl[12] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  5. tests/test_tuples.py

        response = client.post("/tuple-of-models/", json=data)
        assert response.status_code == 422, response.text
    
        data = [{"x": 1, "y": 2}]
        response = client.post("/tuple-of-models/", json=data)
        assert response.status_code == 422, response.text
    
    
    def test_tuple_form_valid():
        response = client.post("/tuple-form/", data={"values": ("1", "2")})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/sql-databases.md

    We'll fix these things by adding a few **extra models**. Here's where SQLModel will shine. ✨
    
    ### Create Multiple Models { #create-multiple-models }
    
    In **SQLModel**, any model class that has `table=True` is a **table model**.
    
    And any model class that doesn't have `table=True` is a **data model**, these ones are actually just Pydantic models (with a couple of small extra features). 🤓
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 15.3K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/response-model.md

    ## See it in the docs { #see-it-in-the-docs }
    
    When you see the automatic docs, you can check that the input model and output model will both have their own JSON Schema:
    
    <img src="/img/tutorial/response-model/image01.png">
    
    And both models will be used for the interactive API documentation:
    
    <img src="/img/tutorial/response-model/image02.png">
    
    ## Other Return Type Annotations { #other-return-type-annotations }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 15.5K bytes
    - Click Count (0)
  8. fastapi/encoders.py

            Doc(
                """
                Pydantic's `include` parameter, passed to Pydantic models to set the
                fields to include.
                """
            ),
        ] = None,
        exclude: Annotated[
            IncEx | None,
            Doc(
                """
                Pydantic's `exclude` parameter, passed to Pydantic models to set the
                fields to exclude.
                """
            ),
        ] = None,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

        /**
         * Gets the raw model to build. If not set, model source will be used to load raw model.
         *
         * @return The raw model to build or {@code null} if not set.
         */
        Model getRawModel();
    
        /**
         * Set raw model.
         *
         * @param rawModel
         */
        ModelBuildingRequest setRawModel(Model rawModel);
    
        /**
         * Gets the source of the POM to process.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

    /**
     * Strategy for applying Maven inference optimizations.
     * For 4.0.0 models: applies limited inference (parent-related only).
     * For 4.1.0+ models: applies full inference optimizations.
     * Removes redundant information that can be inferred by Maven during model building.
     */
    @Named
    @Singleton
    @Priority(30)
    public class InferenceStrategy extends AbstractUpgradeStrategy {
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.6K bytes
    - Click Count (0)
Back to Top