Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 431 for variable (0.09 sec)

  1. docs/es/docs/tutorial/dependencies/index.md

    ```Python
    commons: Annotated[dict, Depends(common_parameters)]
    ```
    
    Pero como estamos usando `Annotated`, podemos almacenar ese valor `Annotated` en una variable y usarlo en múltiples lugares:
    
    {* ../../docs_src/dependencies/tutorial001_02_an_py310.py hl[12,16,21] *}
    
    /// tip | Consejo
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. doc/asm.html

    </li>
    
    </ul>
    
    <p>
    The value of <code>GOMIPS</code> environment variable (<code>hardfloat</code> or
    <code>softfloat</code>) is made available to assembly code by predefining either
    <code>GOMIPS_hardfloat</code> or <code>GOMIPS_softfloat</code>.
    </p>
    
    <p>
    The value of <code>GOMIPS64</code> environment variable (<code>hardfloat</code> or
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Nov 28 19:15:27 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  3. docs/fr/docs/tutorial/first-steps.md

    ///
    
    ### Étape 2 : créer une "instance" `FastAPI`
    
    {* ../../docs_src/first_steps/tutorial001.py hl[3] *}
    
    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 :
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. docs/fr/docs/tutorial/query-params-str-validations.md

    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
    ```
    
    Mais `item-query` n'est pas un nom de variable valide en Python.
    
    Le nom le plus proche serait `item_query`.
    
    Mais vous avez vraiment envie que ce soit exactement `item-query`...
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/dependencies/index.md

    ```Python
    commons: Annotated[dict, Depends(common_parameters)]
    ```
    
    But because we are using `Annotated`, we can store that `Annotated` value in a variable and use it in multiple places:
    
    {* ../../docs_src/dependencies/tutorial001_02_an_py310.py hl[12,16,21] *}
    
    /// tip
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/security/first-steps.md

    ///
    
    La variable `oauth2_scheme` es una instance de `OAuth2PasswordBearer`, pero también es un "callable".
    
    Podría ser llamada como:
    
    ```Python
    oauth2_scheme(some, parameters)
    ```
    
    Así que, puede usarse con `Depends`.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. docs/de/docs/deployment/server-workers.md

    Sehen wir uns an, was jede dieser Optionen bedeutet:
    
    * `main:app`: Das ist die gleiche Syntax, die auch von Uvicorn verwendet wird. `main` bedeutet das Python-Modul mit dem Namen `main`, also eine Datei `main.py`. Und `app` ist der Name der Variable, welche die **FastAPI**-Anwendung ist.
        * Stellen Sie sich einfach vor, dass `main:app` einer Python-`import`-Anweisung wie der folgenden entspricht:
    
            ```Python
            from main import app
            ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/query-params-str-validations.md

    Imagine that you want the parameter to be `item-query`.
    
    Like in:
    
    ```
    http://127.0.0.1:8000/items/?item-query=foobaritems
    ```
    
    But `item-query` is not a valid Python variable name.
    
    The closest would be `item_query`.
    
    But you still need it to be exactly `item-query`...
    
    Then you can declare an `alias`, and that alias is what will be used to find the parameter value:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/first-steps.md

    ///
    
    ### Step 2: create a `FastAPI` "instance" { #step-2-create-a-fastapi-instance }
    
    {* ../../docs_src/first_steps/tutorial001.py hl[3] *}
    
    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* { #step-3-create-a-path-operation }
    
    #### Path { #path }
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. docs/es/docs/features.md

    Escribes Python estándar con tipos:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declara una variable como un str
    # y obtiene soporte del editor dentro de la función
    def main(user_id: str):
        return user_id
    
    
    # Un modelo de Pydantic
    class User(BaseModel):
        id: int
        name: str
        joined: date
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 17:46:44 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top