(scope: Scope, child_scope: Scope)
| 864 | |
| 865 | |
| 866 | def _update_scope(scope: Scope, child_scope: Scope) -> None: |
| 867 | fastapi_child_scope = child_scope.get(_FASTAPI_SCOPE_KEY) |
| 868 | for key, value in child_scope.items(): |
| 869 | if key != _FASTAPI_SCOPE_KEY: |
| 870 | scope[key] = value |
| 871 | if isinstance(fastapi_child_scope, dict): |
| 872 | _get_fastapi_scope(scope).update(fastapi_child_scope) |
| 873 | |
| 874 | |
| 875 | def _get_scope_effective_route_context(scope: Scope) -> Any | None: |
no test coverage detected
searching dependent graphs…