def run(): import sys builtins = sys.modules["builtins"] def guess_kind(x: t.Any) -> t.Optional[t.Literal["object"]]: if ( callable(x) and hasattr(x, "__name__") and getattr(builtins, x.__name__, None) != x ): return "object" return None w = get_walker(guess_kind=guess_kind) for x in w.walk(kinds=["callable", "object"]): print(get_fullname(x))
def run(): w = get_walker() for cls in w.walk(): print(get_fullname(cls))
def run(): w = get_walker() for x in w.walk(kinds=["callable", "object"]): print(get_fullname(x))
def run(): w = get_walker() for cls in w.walk(kinds=["object", "service"]): print(guess_mark(cls), cls)