Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for Dependant (0.19 sec)

  1. fastapi/dependencies/utils.py

        dependency_cache = dependency_cache or {}
        sub_dependant: Dependant
        for sub_dependant in dependant.dependencies:
            sub_dependant.call = cast(Callable[..., Any], sub_dependant.call)
            sub_dependant.cache_key = cast(
                Tuple[Callable[..., Any], Tuple[str]], sub_dependant.cache_key
            )
            call = sub_dependant.call
            use_sub_dependant = sub_dependant
            if (
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:52:56 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/ProjectDependencyGraphStub.java

            result.getTasks().add(new GoalTask("t2"));
            return result;
        }
    
        class Dependency {
            MavenProject dependant;
    
            MavenProject dependency;
    
            Dependency(MavenProject dependant, MavenProject dependency) {
                this.dependant = dependant;
                this.dependency = dependency;
            }
    
            void addIfDownstream(MavenProject mavenProject, List<MavenProject> result) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 8.7K bytes
    - Viewed (0)
  3. fastapi/routing.py

            self.dependant = get_dependant(path=self.path_format, call=self.endpoint)
            for depends in self.dependencies[::-1]:
                self.dependant.dependencies.insert(
                    0,
                    get_parameterless_sub_dependant(depends=depends, path=self.path_format),
                )
            self.body_field = get_body_field(dependant=self.dependant, name=self.unique_id)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  4. fastapi/openapi/utils.py

                )
                parameters: List[Dict[str, Any]] = []
                flat_dependant = get_flat_dependant(route.dependant, skip_repeats=True)
                security_definitions, operation_security = get_openapi_security_definitions(
                    flat_dependant=flat_dependant
                )
                if operation_security:
                    operation.setdefault("security", []).extend(operation_security)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 21.8K bytes
    - Viewed (0)
  5. 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):
    
    === "Python 3.10+"
    
        ```Python hl_lines="13"
        {!> ../../../docs_src/dependencies/tutorial005_an_py310.py!}
        ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 18:09:48 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  6. fastapi/dependencies/models.py

    class SecurityRequirement:
        def __init__(
            self, security_scheme: SecurityBase, scopes: Optional[Sequence[str]] = None
        ):
            self.security_scheme = security_scheme
            self.scopes = scopes
    
    
    class Dependant:
        def __init__(
            self,
            *,
            path_params: Optional[List[ModelField]] = None,
            query_params: Optional[List[ModelField]] = None,
            header_params: Optional[List[ModelField]] = None,
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  7. 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):
    
    === "Python 3.10+"
    
        ```Python hl_lines="13"
        {!> ../../../docs_src/dependencies/tutorial005_an_py310.py!}
        ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/dependencies/index.md

        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="3"
        {!> ../../../docs_src/dependencies/tutorial001.py!}
        ```
    
    ### 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:
    
    === "Python 3.10+"
    
        ```Python hl_lines="13  18"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

                        } else {
                            out[j++] = ch;
                        }
                        break;
                    case 1:
                        /* Get ASCII hex value and convert to platform dependant
                         * encoding like EBCDIC perhaps
                         */
                        b[0] = (byte)(Integer.parseInt( str.substring( i, i + 2 ), 16 ) & 0xFF);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/NbtAddress.java

         * address, isPermanent, isBeingDeleted, ...etc. This information can only
         * be retrieved with the Node Status request.
         * 
         * The degree of state that an NbtAddress has is dependant on how it was
         * created and what is required of it. The second degree of state is the
         * most common. This is the state information that would be retrieved from
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 15.2K bytes
    - Viewed (0)
Back to top