Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for Models (0.04 sec)

  1. fastapi/openapi/models.py

    Paul <******@****.***> 1713480573 -0400
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 22:49:33 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/body-nested-models.md

    Jedes Attribut eines Pydantic-Modells hat einen Typ.
    
    Aber dieser Typ kann selbst ein anderes Pydantic-Modell sein.
    
    Sie können also tief verschachtelte JSON-„Objekte“ deklarieren, mit spezifischen Attributnamen, -typen, und -validierungen.
    
    Alles das beliebig tief verschachtelt.
    
    ### Ein Kindmodell definieren
    
    Wir können zum Beispiel ein `Image`-Modell definieren.
    
    //// tab | Python 3.10+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/extra-models.md

    Sebastián Ramírez <******@****.***> 1728247014 +0200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/body-nested-models.md

    ```
    
    ////
    
    ## Универсальная поддержка редактора
    
    И вы получаете поддержку редактора везде.
    
    Даже для элементов внутри списков:
    
    <img src="/img/tutorial/body-nested-models/image01.png">
    
    Вы не могли бы получить такую поддержку редактора, если бы работали напрямую с `dict`, а не с моделями Pydantic.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.8K bytes
    - Viewed (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")})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/response-model.md

    ## 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
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  7. docs/en/mkdocs.yml

        - tutorial/query-param-models.md
        - tutorial/body-multiple-params.md
        - tutorial/body-fields.md
        - tutorial/body-nested-models.md
        - tutorial/schema-extra-example.md
        - tutorial/extra-data-types.md
        - tutorial/cookie-params.md
        - tutorial/header-params.md
        - tutorial/cookie-param-models.md
        - tutorial/header-param-models.md
        - tutorial/response-model.md
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 20:28:02 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/generate-clients.md

    You can see those schemas because they were declared with the models in the app.
    
    That information is available in the app's **OpenAPI schema**, and then shown in the API docs (by Swagger UI).
    
    And that same information from the models that is included in OpenAPI is what can be used to **generate the client code**.
    
    ### Generate a TypeScript Client
    
    Now that we have the app with the models, we can generate the client code for the frontend.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. 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
    
    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). 🤓
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

     * under the License.
     */
    package org.apache.maven.model.building;
    
    import java.io.File;
    import java.nio.file.Path;
    import java.util.Date;
    import java.util.List;
    import java.util.Properties;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.Profile;
    import org.apache.maven.model.resolution.ModelResolver;
    import org.apache.maven.model.resolution.WorkspaceModelResolver;
    
    /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.9K bytes
    - Viewed (0)
Back to top