Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for variables (0.19 sec)

  1. docs/en/docs/tutorial/security/first-steps.md

        That's because it is using the same name as in the OpenAPI spec. So that if you need to investigate more about any of these security schemes you can just copy and paste it to find more information about it.
    
    The `oauth2_scheme` variable is an instance of `OAuth2PasswordBearer`, but it is also a "callable".
    
    It could be called as:
    
    ```Python
    oauth2_scheme(some, parameters)
    ```
    
    So, it can be used with `Depends`.
    
    ### Use it
    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)
  2. docs/fr/docs/tutorial/first-steps.md

    ### Étape 2 : créer une "instance" `FastAPI`
    
    ```Python hl_lines="3"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Ici la variable `app` sera une "instance" de la classe `FastAPI`.
    
    Ce sera le point principal d'interaction pour créer toute votre API.
    
    Cette `app` est la même que celle à laquelle fait référence `uvicorn` dans la commande :
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Sep 27 20:52:31 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/first-steps.md

    ### Paso 2: crea un "instance" de `FastAPI`
    
    ```Python hl_lines="3"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Aquí la variable `app` será un instance de la clase `FastAPI`.
    
    Este será el punto de interacción principal para crear todo tu API.
    
    Esta `app` es la misma a la que nos referimos cuando usamos el comando de `uvicorn`:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/security/first-steps.md

    Die Variable `oauth2_scheme` ist eine Instanz von `OAuth2PasswordBearer`, aber auch ein „Callable“.
    
    Es könnte wie folgt aufgerufen werden:
    
    ```Python
    oauth2_scheme(some, parameters)
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:07:08 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/first-steps.md

    ```Python hl_lines="3"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    In diesem Beispiel ist die Variable `app` eine „Instanz“ der Klasse `FastAPI`.
    
    Dies wird der Hauptinteraktionspunkt für die Erstellung all Ihrer APIs sein.
    
    Die Variable `app` ist dieselbe, auf die sich der Befehl `uvicorn` bezieht:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 12:16:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/first-steps.md

    ### Step 2: create a `FastAPI` "instance"
    
    ```Python hl_lines="3"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Here the `app` variable will be an "instance" of the class `FastAPI`.
    
    This will be the main point of interaction to create all your API.
    
    ### Step 3: create a *path operation*
    
    #### Path
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 12K bytes
    - Viewed (0)
Back to top