Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for dependants (0.48 sec)

  1. fastapi/dependencies/utils.py

            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(),
            name=dependant.name,
            call=dependant.call,
            request_param_name=dependant.request_param_name,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 37.6K bytes
    - Viewed (3)
  2. fastapi/routing.py

    
    async def run_endpoint_function(
        *, dependant: Dependant, values: dict[str, Any], is_coroutine: bool
    ) -> Any:
        # Only called by get_request_handler. Has been split into its own function to
        # facilitate profiling endpoints, since inner functions are harder to profile.
        assert dependant.call is not None, "dependant.call must be a function"
    
        if is_coroutine:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  3. fastapi/openapi/utils.py

    
    def _get_openapi_operation_parameters(
        *,
        dependant: Dependant,
        model_name_map: ModelNameMap,
        field_mapping: dict[
            tuple[ModelField, Literal["validation", "serialization"]], dict[str, Any]
        ],
        separate_input_output_schemas: bool = True,
    ) -> list[dict[str, Any]]:
        parameters = []
        flat_dependant = get_flat_dependant(dependant, skip_repeats=True)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  4. docs/en/docs/release-notes.md

    ## 0.13.0
    
    * Improve/upgrade OAuth2 scopes support with `SecurityScopes`:
        * `SecurityScopes` can be declared as a parameter like `Request`, to get the scopes of all super-dependencies/dependants.
        * Improve `Security` handling, merging scopes when declaring `SecurityScopes`.
        * Allow using `SecurityBase` (like `OAuth2`) classes with `Depends` and still document them. `Security` now is needed only to declare `scopes`.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
Back to top