Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for cache_key (0.04 seconds)

  1. fastapi/dependencies/models.py

            for scope in self.own_oauth_scopes or []:
                if scope not in scopes:
                    scopes.append(scope)
            return scopes
    
        @cached_property
        def cache_key(self) -> DependencyCacheKey:
            scopes_for_cache = (
                tuple(sorted(set(self.oauth_scopes or []))) if self._uses_scopes else ()
            )
            return (
                self.call,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  2. fastapi/dependencies/utils.py

            if solved_result.errors:
                errors.extend(solved_result.errors)
                continue
            if sub_dependant.use_cache and sub_dependant.cache_key in dependency_cache:
                solved = dependency_cache[sub_dependant.cache_key]
            elif (
                use_sub_dependant.is_gen_callable or use_sub_dependant.is_async_gen_callable
            ):
                use_astack = request_astack
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 38.7K bytes
    - Click Count (3)
Back to Top