This commit is contained in:
Zaida Zhou 2022-03-31 18:29:45 +08:00 committed by GitHub
parent 7e246b6f65
commit 1927bc7726
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ class DefaultScope(ManagerMixin):
"""Scope of current task used to reset the current registry, which can be """Scope of current task used to reset the current registry, which can be
accessed globally. accessed globally.
Consider the case of reseting the current ``Resgitry`` by``default_scope`` Consider the case of resetting the current ``Resgitry`` by``default_scope``
in the internal module which cannot access runner directly, it is difficult in the internal module which cannot access runner directly, it is difficult
to get the ``default_scope`` defined in ``Runner``. However, if ``Runner`` to get the ``default_scope`` defined in ``Runner``. However, if ``Runner``
created ``DefaultScope`` instance by given ``default_scope``, the internal created ``DefaultScope`` instance by given ``default_scope``, the internal