Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for dependant (0.13 sec)

  1. fastapi/dependencies/utils.py

    
    def get_flat_dependant(
        dependant: Dependant,
        *,
        skip_repeats: bool = False,
        visited: Optional[List[CacheKey]] = None,
    ) -> 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(),
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/index.md

    ///
    
    ### Import `Depends`
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[3] *}
    
    ### Declare the dependency, in the "dependant"
    
    The same way you use `Body`, `Query`, etc. with your *path operation function* parameters, use `Depends` with a new parameter:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[13,18] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 11:18:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/security/oauth2-scopes.md

    It will always have the security scopes declared in the current `Security` dependencies and all the dependants for **that specific** *path operation* and **that specific** dependency tree.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 11:02:16 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. docs/en/docs/release-notes.md

    * ⬆ Bump dawidd6/action-download-artifact from 2.9.0 to 2.21.1. PR [#5130](https://github.com/tiangolo/fastapi/pull/5130) by [@dependabot[bot]](https://github.com/apps/dependabot).
    * ⬆ Bump actions/setup-python from 2 to 4. PR [#5129](https://github.com/tiangolo/fastapi/pull/5129) by [@dependabot[bot]](https://github.com/apps/dependabot).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:25:57 UTC 2024
    - 460.3K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java

        private void blackList(String id) {
            if (!blackList.contains(id)) {
                blackList.add(id);
    
                List<String> dependents = sorter.getDependents(id);
    
                if (dependents != null && !dependents.isEmpty()) {
                    for (String dependentId : dependents) {
                        if (!buildSuccessesByProject.containsKey(dependentId)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. docs/en/docs/how-to/conditional-openapi.md

    # Conditional OpenAPI
    
    If you needed to, you could use settings and environment variables to configure OpenAPI conditionally depending on the environment, and even disable it entirely.
    
    ## About security, APIs, and docs
    
    Hiding your documentation user interfaces in production *shouldn't* be the way to protect your API.
    
    That doesn't add any extra security to your API, the *path operations* will still be available where they are.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 11:21:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. docs/fr/docs/tutorial/background-tasks.md

    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...
    
    **FastAPI** sait quoi faire dans chaque cas et comment réutiliser le même objet, afin que tous les paramètres de type `BackgroundTasks` soient fusionnés et que les tâches soient exécutées en arrière-plan :
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:29:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. docs/en/docs/how-to/separate-openapi-schemas.md

    When using **Pydantic v2**, the generated OpenAPI is a bit more exact and **correct** than before. 😎
    
    In fact, in some cases, it will even have **two JSON Schemas** in OpenAPI for the same Pydantic model, for input and output, depending on if they have **default values**.
    
    Let's see how that works and how to change it if you need to do that.
    
    ## Pydantic Models for Input and Output
    
    Let's say you have a Pydantic model with default values, like this one:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 16:43:54 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilter.java

        }
    
        /**
         * In order to reuse the glob matcher from the filesystem, we need
         * to create Path instances.  Those are only used with the toString method.
         * This hack works because the only system-dependent thing is the path
         * separator which should not be part of the groupId or artifactId.
         */
        private static Path createPathProxy(String value) {
            return (Path) Proxy.newProxyInstance(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/resident/DefaultResidentMavenInvokerTest.java

    import org.junit.jupiter.api.io.CleanupMode;
    import org.junit.jupiter.api.io.TempDir;
    
    /**
     * Resident UT.
     */
    @Disabled(
            "The tests reuse properties from the JVM being launched, thus may lead to failures depending on which options are used")
    public class DefaultResidentMavenInvokerTest
            extends MavenInvokerTestSupport<MavenOptions, MavenInvokerRequest<MavenOptions>> {
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top