Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 544 for model2 (0.28 sec)

  1. docs/de/docs/index.md

    Nur Standard-**Python+**.
    
    Zum Beispiel für ein `int`:
    
    ```Python
    item_id: int
    ```
    
    oder für ein komplexeres `Item`-Modell:
    
    ```Python
    item: Item
    ```
    
    ... und mit dieser einen Deklaration erhalten Sie:
    
    * Editor-Unterstützung, einschließlich:
        * Code-Vervollständigung.
        * Typprüfungen.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.1K bytes
    - Viewed (0)
  2. docs/en/docs/python-types.md

    <img src="/img/python-types/image06.png">
    
    Notice that this means "`one_person` is an **instance** of the class `Person`".
    
    It doesn't mean "`one_person` is the **class** called `Person`".
    
    ## Pydantic models { #pydantic-models }
    
    <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic</a> is a Python library to perform data validation.
    
    You declare the "shape" of the data as classes with attributes.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/response-status-code.md

    # Response Status Code { #response-status-code }
    
    The same way you can specify a response model, you can also declare the HTTP status code used for the response with the parameter `status_code` in any of the *path operations*:
    
    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * etc.
    
    {* ../../docs_src/response_status_code/tutorial001.py hl[6] *}
    
    /// note
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. docs/fr/docs/alternatives.md

    qui sont relativement fortement couplées.
    
    /// check | A inspiré **FastAPI** à
    
    Définir des validations supplémentaires pour les types de données utilisant la valeur "par défaut" des attributs du modèle. Ceci améliore le support de l'éditeur, et n'était pas disponible dans Pydantic auparavant.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/plugin/PluginManager.java

    import org.apache.maven.artifact.resolver.ArtifactResolutionException;
    import org.apache.maven.artifact.versioning.InvalidVersionSpecificationException;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.model.Plugin;
    import org.apache.maven.plugin.descriptor.PluginDescriptor;
    import org.apache.maven.plugin.version.PluginVersionNotFoundException;
    import org.apache.maven.plugin.version.PluginVersionResolutionException;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/response-headers.md

    And then you can set headers in that *temporal* response object.
    
    {* ../../docs_src/response_headers/tutorial002.py hl[1, 7:8] *}
    
    And then you can return any object you need, as you normally would (a `dict`, a database model, etc).
    
    And if you declared a `response_model`, it will still be used to filter and convert the object you returned.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  7. docs/id/docs/index.md

     ╭────────── FastAPI CLI - Development mode ───────────╮
     │                                                     │
     │  Serving at: http://127.0.0.1:8000                  │
     │                                                     │
     │  API docs: http://127.0.0.1:8000/docs               │
     │                                                     │
     │  Running in development mode, for production use:   │
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/using-request-directly.md

    Although any other parameter declared normally (for example, the body with a Pydantic model) would still be validated, converted, annotated, etc.
    
    But there are specific cases where it's useful to get the `Request` object.
    
    ## Use the `Request` object directly { #use-the-request-object-directly }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. docs/de/docs/features.md

    from pydantic import BaseModel
    
    # Deklarieren Sie eine Variable als ein `str`
    # und bekommen Sie Editor-Unterstütung innerhalb der Funktion
    def main(user_id: str):
        return user_id
    
    
    # Ein Pydantic-Modell
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    Das kann nun wie folgt verwendet werden:
    
    ```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: Thu Aug 15 23:30:12 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. docs/nl/docs/features.md

    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declareer een variabele als een str
    # en krijg editorondersteuning in de functie
    def main(user_id: str):
        return user_id
    
    
    # Een Pydantic model
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    Vervolgens kan je het op deze manier gebruiken:
    
    ```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 Sep 03 13:50:38 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top