Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 145 for dependente (0.36 sec)

  1. docs/pt/docs/tutorial/dependencies/sub-dependencies.md

    Isso é bastante simples (e não muito útil), mas irá nos ajudar a focar em como as subdependências funcionam.
    
    ## Segunda dependência, "injetável" e "dependente"
    
    Então, você pode criar uma outra função para uma dependência (um "injetável") que ao mesmo tempo declara sua própria dependência (o que faz dela um "dependente" também):
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="13"
    {!> ../../docs_src/dependencies/tutorial005_an_py310.py!}
    ```
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/dependencies/index.md

    /// tip | "Dica"
    
    Utilize a versão com `Annotated` se possível.
    
    ///
    
    ```Python hl_lines="3"
    {!> ../../docs_src/dependencies/tutorial001.py!}
    ```
    
    ////
    
    ### Declarando a dependência, no "dependente"
    
    Da mesma forma que você utiliza `Body`, `Query`, etc. Como parâmetros de sua *função de operação de rota*, utilize `Depends` com um novo parâmetro:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="13  18"
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    This is quite simple (not very useful), but will help us focus on how the sub-dependencies work.
    
    ## Second dependency, "dependable" and "dependant"
    
    Then you can create another dependency function (a "dependable") that at the same time declares a dependency of its own (so it is a "dependant" too):
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="13"
    {!> ../../docs_src/dependencies/tutorial005_an_py310.py!}
    ```
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/dependencies/sub-dependencies.md

    ## Zweite Abhängigkeit, „Dependable“ und „Dependant“
    
    Dann können Sie eine weitere Abhängigkeitsfunktion (ein „Dependable“) erstellen, die gleichzeitig eine eigene Abhängigkeit deklariert (also auch ein „Dependant“ ist):
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="13"
    {!> ../../docs_src/dependencies/tutorial005_an_py310.py!}
    ```
    
    ////
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. fastapi/dependencies/utils.py

    ) -> Dependant:
        if visited is None:
            visited = []
        visited.append(dependant.cache_key)
    
        flat_dependant = Dependant(
            path_params=dependant.path_params.copy(),
            query_params=dependant.query_params.copy(),
            header_params=dependant.header_params.copy(),
            cookie_params=dependant.cookie_params.copy(),
            body_params=dependant.body_params.copy(),
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:36:32 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/security/oauth2-scopes.md

        * Required scopes `["items"]` with the dependency:
        * `get_current_active_user`:
            *  The dependency function `get_current_active_user` has:
                * Required scopes `["me"]` with the dependency:
                * `get_current_user`:
                    * The dependency function `get_current_user` has:
                        * No scopes required by itself.
                        * A dependency using `oauth2_scheme`.
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/dependencies/index.md

    **FastAPI** has a very powerful but intuitive **<abbr title="also known as components, resources, providers, services, injectables">Dependency Injection</abbr>** system.
    
    It is designed to be very simple to use, and to make it very easy for any developer to integrate other components with **FastAPI**.
    
    ## What is "Dependency Injection"
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/dependencies/index.md

    Es ist so konzipiert, sehr einfach zu verwenden zu sein und es jedem Entwickler sehr leicht zu machen, andere Komponenten mit **FastAPI** zu integrieren.
    
    ## Was ist „Dependency Injection“
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. docs/pt/docs/project-generation.md

    * **Senha segura** _hashing_ por padrão.
    * Autenticação **Token JWT**.
    * Modelos **SQLAlchemy** (independente de extensões Flask, para que eles possam ser usados com _workers_ Celery diretamente).
    * Modelos básicos para usuários (modifique e remova conforme suas necessidades).
    * Migrações **Alembic**.
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/security/oauth2-scopes.md

    Ele sempre terá os escopos de segurança declarados nas dependências atuais de `Security` e todos os dependentes para **aquela** *operação de rota* **específica** e **aquela** árvore de dependência **específica**.
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 21.7K bytes
    - Viewed (0)
Back to top