Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 61 for design (0.2 sec)

  1. docs/en/docs/tutorial/security/get-current-user.md

    !!! tip
        You might remember that request bodies are also declared with Pydantic models.
    
        Here **FastAPI** won't get confused because you are using `Depends`.
    
    !!! check
        The way this dependency system is designed allows us to have different dependencies (different "dependables") that all return a `User` model.
    
        We are not restricted to having only one dependency that can return that type of data.
    
    ## Other models
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  2. docs/fr/docs/alternatives.md

    Ils sont, plus ou moins, aux extrémités opposées, se complétant l'un l'autre.
    
    Requests a un design très simple et intuitif, il est très facile à utiliser, avec des valeurs par défaut raisonnables, tout en étant très puissant et personnalisable.
    
    C'est pourquoi, comme le dit le site officiel :
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/path-params.md

    ## Pydantic
    
    Die ganze Datenvalidierung wird hinter den Kulissen von <a href="https://pydantic-docs.helpmanual.io/" class="external-link" target="_blank">Pydantic</a> durchgeführt, Sie profitieren also von dessen Vorteilen. Und Sie wissen, dass Sie in guten Händen sind.
    
    Sie können für Typ Deklarationen auch `str`, `float`, `bool` und viele andere komplexe Datentypen verwenden.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:28:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/metadata.md

    !!! tip
        You don't have to add metadata for all the tags that you use.
    
    ### Use your tags
    
    Use the `tags` parameter with your *path operations* (and `APIRouter`s) to assign them to different tags:
    
    ```Python hl_lines="21  26"
    {!../../../docs_src/metadata/tutorial004.py!}
    ```
    
    !!! info
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/security/oauth2-jwt.md

    After a week, the token will be expired and the user will not be authorized and will have to sign in again to get a new token. And if the user (or a third party) tried to modify the token to change the expiration, you would be able to discover it, because the signatures would not match.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/security/first-steps.md

    ## The `password` flow
    
    Now let's go back a bit and understand what is all that.
    
    The `password` "flow" is one of the ways ("flows") defined in OAuth2, to handle security and authentication.
    
    OAuth2 was designed so that the backend or API could be independent of the server that authenticates the user.
    
    But in this case, the same **FastAPI** application will handle the API and the authentication.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/response-model.md

    !!! info
        FastAPI verwendet `.dict()` von Pydantic Modellen, <a href="https://docs.pydantic.dev/1.10/usage/exporting_models/#modeldict" class="external-link" target="_blank">mit dessen `exclude_unset`-Parameter</a>, um das zu erreichen.
    
    !!! info
        Sie können auch:
    
        * `response_model_exclude_defaults=True`
        * `response_model_exclude_none=True`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:58 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  8. docs/hu/docs/index.md

    ---
    
    "_If anyone is looking to build a production Python API, I would highly recommend **FastAPI**. It is **beautifully designed**, **simple to use** and **highly scalable**, it has become a **key component** in our API first development strategy and is driving many automations and services such as our Virtual TAC Engineer._"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/query-params-str-validations.md

        {!> ../../../docs_src/query_params_str_validations/tutorial002.py!}
        ```
    
    Da wir in diesem Fall (ohne die Verwendung von `Annotated`) den Parameter-Defaultwert `None` mit `Query()` ersetzen, müssen wir nun dessen Defaultwert mit dem Parameter `Query(default=None)` deklarieren. Das dient demselben Zweck, `None` als Defaultwert für den Funktionsparameter zu setzen (zumindest für FastAPI).
    
    Sprich:
    
    ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 17:58:59 GMT 2024
    - 27.7K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/dependencies/index.md

    # Dependencies
    
    **FastAPI** has a very powerful but intuitive **<abbr title="also known as components, resources, providers, services, injectables">Dependency Injection</abbr>** system.
    
    It is designed to be very simple to use, and to make it very easy for any developer to integrate other components with **FastAPI**.
    
    ## What is "Dependency Injection"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
Back to top