Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 309 for declarou (0.04 sec)

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

    ## Crear un modelo de usuario { #create-a-user-model }
    
    Primero, vamos a crear un modelo de usuario con Pydantic.
    
    De la misma manera que usamos Pydantic para declarar cuerpos, podemos usarlo en cualquier otra parte:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[5,12:6] *}
    
    ## Crear una dependencia `get_current_user` { #create-a-get-current-user-dependency }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial002_an_py310.py hl[31] *}
    
    Notice that we declare the type of `current_user` as the Pydantic model `User`.
    
    This will help us inside of the function with all the completion and type checks.
    
    /// tip
    
    You might remember that request bodies are also declared with Pydantic models.
    
    Here **FastAPI** won't get confused because you are using `Depends`.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/events.md

    These functions can be declared with `async def` or normal `def`.
    
    ### `startup` event { #startup-event }
    
    To add a function that should be run before the application starts, declare it with the event `"startup"`:
    
    {* ../../docs_src/events/tutorial001_py39.py hl[8] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/dependencies/index.md

    ## O que é "Injeção de Dependência" { #what-is-dependency-injection }
    
    **"Injeção de Dependência"** no mundo da programação significa, que existe uma maneira de declarar no seu código (nesse caso, suas *funções de operação de rota*) para declarar as coisas que ele precisa para funcionar e que serão utilizadas: "dependências".
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/sql-databases.md

    Como cada modelo SQLModel também é um modelo Pydantic, você pode usá-lo nas mesmas **anotações de tipo** que usaria para modelos Pydantic.
    
    Por exemplo, se você declarar um parâmetro do tipo `Hero`, ele será lido do **corpo JSON**.
    
    Da mesma forma, você pode declará-lo como o **tipo de retorno** da função, e então o formato dos dados aparecerá na interface de documentação automática da API.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 20:32:40 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  6. docs/fr/docs/tutorial/path-params-numeric-validations.md

    ///
    
    ## Déclarer des métadonnées
    
    Vous pouvez déclarer les mêmes paramètres que pour `Query`.
    
    Par exemple, pour déclarer une valeur de métadonnée `title` pour le paramètre de chemin `item_id`, vous pouvez écrire :
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/security/first-steps.md

    * The user types the `username` and `password` in the frontend, and hits `Enter`.
    * The frontend (running in the user's browser) sends that `username` and `password` to a specific URL in our API (declared with `tokenUrl="token"`).
    * The API checks that `username` and `password`, and responds with a "token" (we haven't implemented any of this yet).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/path-params-numeric-validations.md

    ///
    
    ## Declare metadados { #declare-metadata }
    
    Você pode declarar todos os mesmos parâmetros que em `Query`.
    
    Por exemplo, para declarar um valor de metadado `title` para o parâmetro de path `item_id` você pode digitar:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[10] *}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  9. docs/fr/docs/tutorial/background-tasks.md

    * Les arguments nommés à passer à la fonction de tâche (`message="some notification"`).
    
    ## Injection de dépendances
    
    Utiliser `BackgroundTasks` fonctionne aussi avec le système d'injection de dépendances. Vous pouvez déclarer un paramètre de type `BackgroundTasks` à différents niveaux : dans une *fonction de chemin*, dans une dépendance, dans une sous-dépendance...
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/MediaType.java

       * font/woff} to be the correct media type for WOFF, but this may be necessary in certain
       * situations for compatibility.
       *
       * @since 17.0
       */
      public static final MediaType WOFF = createConstant(APPLICATION_TYPE, "font-woff");
    
      /**
       * <a href="https://tools.ietf.org/html/rfc8081">RFC 8081</a> declares {@link #FONT_WOFF2
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 02 01:46:40 UTC 2025
    - 48K bytes
    - Viewed (0)
Back to top