Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for addons (0.18 sec)

  1. docs/zh/docs/deployment/deta.md

    // Notice the "endpoint" 🔍
    
    {
        "name": "fastapideta",
        "runtime": "python3.7",
        "endpoint": "https://qltnci.deta.dev",
        "visor": "enabled",
        "http_auth": "enabled"
    }
    
    Adding dependencies...
    
    
    ---> 100%
    
    
    Successfully installed fastapi-0.61.1 pydantic-1.7.2 starlette-0.13.6
    ```
    
    </div>
    
    您会看到如下 JSON 信息:
    
    ```JSON hl_lines="4"
    {
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Sun Jan 28 18:06:55 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  2. docs/fr/docs/python-types.md

    Mais malheureusement, rien d'utile n'en résulte :
    
    <img src="/img/python-types/image01.png">
    
    ### Ajouter des types
    
    Modifions une seule ligne de la version précédente.
    
    Nous allons changer seulement cet extrait, les paramètres de la fonction, de :
    
    
    ```Python
        first_name, last_name
    ```
    
    à :
    
    ```Python
        first_name: str, last_name: str
    ```
    
    C'est tout.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  3. docs/vi/docs/tutorial/first-steps.md

    !!! info Thông tin về "`@decorator`"
        Cú pháp `@something` trong Python được gọi là một "decorator".
    
        Bạn đặt nó trên một hàm. Giống như một chiếc mũ xinh xắn (Tôi ddonas đó là lí do mà thuật ngữ này ra đời).
    
        Một "decorator" lấy một hàm bên dưới và thực hiện một vài thứ với nó.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Sep 02 15:44:17 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/sql-databases.md

    For us in this case, it helps us ensure a single database session is used through all the request, and then closed afterwards (in the middleware).
    
    ### Dependencies with `yield` or middleware
    
    Adding a **middleware** here is similar to what a dependency with `yield` does, with some differences:
    
    * It requires more code and is a bit more complex.
    * The middleware has to be an `async` function.
    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)
  5. docs/en/docs/how-to/extending-openapi.md

    ```Python hl_lines="2  15-21"
    {!../../../docs_src/extending_openapi/tutorial001.py!}
    ```
    
    ### Modify the OpenAPI schema
    
    Now you can add the ReDoc extension, adding a custom `x-logo` to the `info` "object" in the OpenAPI schema:
    
    ```Python hl_lines="22-24"
    {!../../../docs_src/extending_openapi/tutorial001.py!}
    ```
    
    ### Cache the OpenAPI schema
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  6. docs/en/data/external_links.yml

        title: Write a Python data layer with Azure Cosmos DB and FastAPI
      - author: Donny Peeters
        author_link: https://github.com/Donnype
        link: https://bitestreams.com/blog/fastapi-sqlalchemy/
        title: 10 Tips for adding SQLAlchemy to FastAPI
      - author: Jessica Temporal
        author_link: https://jtemporal.com/socials
        link: https://jtemporal.com/tips-on-migrating-from-flask-to-fastapi-and-vice-versa/
    Others
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Mar 21 20:57:27 GMT 2024
    - 21.3K bytes
    - Viewed (2)
  7. docs/fr/docs/tutorial/first-steps.md

    * `GET` : pour lire de la donnée.
    * `PUT` : pour mettre à jour de la donnée.
    * `DELETE` : pour supprimer de la donnée.
    
    Donc, dans **OpenAPI**, chaque méthode HTTP est appelée une "opération".
    
    Nous allons donc aussi appeler ces dernières des "**opérations**".
    
    
    #### Définir un *décorateur d'opération de chemin*
    
    ```Python hl_lines="6"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Sep 27 20:52:31 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/security/oauth2-scopes.md

    And we return the scopes as part of the JWT token.
    
    !!! danger
        For simplicity, here we are just adding the scopes received directly to the token.
    
        But in your application, for security, you should make sure you only add the scopes that the user is actually able to have, or the ones you have predefined.
    
    === "Python 3.10+"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  9. docs/en/docs/how-to/sql-databases-peewee.md

    ```
    
    !!! tip
        Here we are creating the models with an `id`.
    
        We didn't explicitly specify an `id` attribute in the Peewee models, but Peewee adds one automatically.
    
        We are also adding the magic `owner_id` attribute to `Item`.
    
    ### Create a `PeeweeGetterDict` for the Pydantic *models* / schemas
    
    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)
  10. docs/en/docs/advanced/path-operation-advanced-configuration.md

    If you want to use your APIs' function names as `operationId`s, you can iterate over all of them and override each *path operation's* `operation_id` using their `APIRoute.name`.
    
    You should do it after adding all your *path operations*.
    
    ```Python hl_lines="2  12-21  24"
    {!../../../docs_src/path_operation_advanced_configuration/tutorial002.py!}
    ```
    
    !!! tip
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (0)
Back to top