scope Classes: Scope – A mapping from dependency types to their current values. Functions: get_scope – Get a mapping from dependency types to their current values. new_scope – Share the values for a set of dependencies for the duration of a context. Scope Bases: Mapping[Hint, Any] A mapping from dependency types to their current values. get_scope get_scope() -> Scope Get a mapping from dependency types to their current values. new_scope new_scope( *args: Hint | Mapping[Hint, Any] ) -> _ScopeContext Share the values for a set of dependencies for the duration of a context.