Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for immagine (0.15 sec)

  1. docs/fr/docs/tutorial/query-params-str-validations.md

    ```
    
    Et une `description` :
    
    ```Python hl_lines="13"
    {!../../../docs_src/query_params_str_validations/tutorial008.py!}
    ```
    
    ## Alias de paramètres
    
    Imaginez que vous vouliez que votre paramètre se nomme `item-query`.
    
    Comme dans la requête :
    
    ```
    http://127.0.0.1:8000/items/?item-query=foobaritems
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jul 27 18:53:21 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  2. docs_src/openapi_callbacks/tutorial001.py

        pass
    
    
    @app.post("/invoices/", callbacks=invoices_callback_router.routes)
    def create_invoice(invoice: Invoice, callback_url: Union[HttpUrl, None] = None):
        """
        Create an invoice.
    
        This will (let's imagine) let the API user (some external developer) create an
        invoice.
    
        And this path operation will:
    
        * Send the invoice to the client.
        * Collect the money from the client.
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/using-request-directly.md

    But there are specific cases where it's useful to get the `Request` object.
    
    ## Use the `Request` object directly
    
    Let's imagine you want to get the client's IP address/host inside of your *path operation function*.
    
    For that you need to access the request directly.
    
    ```Python hl_lines="1  7-8"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 29 14:02:58 GMT 2020
    - 2.3K bytes
    - Viewed (0)
  4. docs/pt/docs/async.md

    **Concorrência** e **paralelismo** ambos são relacionados a "diferentes coisas acontecendo mais ou menos ao mesmo tempo".
    
    Mas os detalhes entre *concorrência* e *paralelismo* são bem diferentes.
    
    Para ver essa diferença, imagine a seguinte história sobre hambúrgueres:
    
    ### Hambúrgueres concorrentes
    
    Você vai com seu _crush_ :heart_eyes: na lanchonete, fica na fila enquanto o caixa pega os pedidos das pessoas na sua frente.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  5. docs/fr/docs/async.md

    Jusqu'au moment où c'est (enfin) votre tour. Vous allez au comptoir, récupérez vos burgers 🍔 et revenez à votre table.
    
    Vous et votre crush 😍 mangez les burgers 🍔 et passez un bon moment ✨.
    
    ---
    
    Imaginez que vous êtes l'ordinateur / le programme 🤖 dans cette histoire.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 24K bytes
    - Viewed (0)
  6. docs/en/docs/python-types.md

    ```Python hl_lines="2"
    {!../../../docs_src/python_types/tutorial001.py!}
    ```
    
    ### Edit it
    
    It's a very simple program.
    
    But now imagine that you were writing it from scratch.
    
    At some point you would have started the definition of the function, you had the parameters ready...
    
    But then you have to call "that method that converts the first letter to upper case".
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/security/first-steps.md

    # Security - First Steps
    
    Let's imagine that you have your **backend** API in some domain.
    
    And you have a **frontend** in another domain or in a different path of the same domain (or in a mobile application).
    
    And you want to have a way for the frontend to authenticate with the backend, using a **username** and **password**.
    
    We can use **OAuth2** to build that with **FastAPI**.
    
    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)
  8. docs/pt/docs/tutorial/query-params-str-validations.md

    ```
    
    E uma `description`:
    
    ```Python hl_lines="13"
    {!../../../docs_src/query_params_str_validations/tutorial008.py!}
    ```
    
    ## Apelidos (alias) de parâmetros
    
    Imagine que você queira que um parâmetro tenha o nome `item-query`.
    
    Desta maneira:
    
    ```
    http://127.0.0.1:8000/items/?item-query=foobaritems
    ```
    
    Mas o nome `item-query` não é um nome de váriavel válido no Python.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 9.3K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/bigger-applications.md

        This will take microseconds and will only happen at startup.
    
        So it won't affect performance. ⚡
    
    ### Include an `APIRouter` with a custom `prefix`, `tags`, `responses`, and `dependencies`
    
    Now, let's imagine your organization gave you the `app/internal/admin.py` file.
    
    It contains an `APIRouter` with some admin *path operations* that your organization shares between several projects.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/openapi-callbacks.md

    ## An app with callbacks
    
    Let's see all this with an example.
    
    Imagine you develop an app that allows creating invoices.
    
    These invoices will have an `id`, `title` (optional), `customer`, and `total`.
    
    The user of your API (an external developer) will create an invoice in your API with a POST request.
    
    Then your API will (let's imagine):
    
    * Send the invoice to some customer of the external developer.
    * Collect the money.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 7.7K bytes
    - Viewed (0)
Back to top