ModuleReloader
Reloads a module & recursively descends its ‘all’ tree to make sure that all submodules are also reloaded
blacklist_keys: list
__init__(self, modspec):
modspec
:str | types.ModuleType
get_parents(self):
Returns module parents
:returns
:_
get_members(self):
Returns module members
:returns
:_
reload_member(self, member, stack=None, reloaded=None, blacklist=None, reload_parents=True, verbose=False, print_indent=''):
reload(self, stack=None, reloaded=None, blacklist=None, reload_parents=True, verbose=False, print_indent=''):
Recursively searches for modules to reload and then reloads them. Uses a cache to break cyclic dependencies of any sort. This turns out to also be a challenging problem, since we need to basically load depth-first, while never jumping too far back…
:returns
:_