(self, scope)
Temporarily enter the given scope for the duration of the context.
Temporarily enter the given scope for the duration of the context.
Temporarily enter the given scope for the duration of the context .
def in_scope(self, scope):
        """
        Temporarily enter the given scope for the duration of the context.
        """
        warnings.warn(
            "jsonschema.RefResolver.in_scope is deprecated and will be "
            "removed in a future release.",
            DeprecationWarning,
            stacklevel=3,
        )
        self.push_scope(scope)
        try:
            yield
        finally:
            self.pop_scope()
def in_scope ( self , scope ) : warnings . warn ( "jsonschema.RefResolver.in_scope is deprecated and will be " "removed in a future release." , DeprecationWarning , stacklevel = 3 , ) self . push_scope ( scope ) try : yield finally : self . pop_scope ( )