Open podhmo opened 2 years ago
e.g.
w = get_walker([A], recursive=True, aggressive=True) metadata_resolver = w.resolver.metadata resolver = w.resolver list(w.walk()) # generator # this is annoyed. w = w.__class__( w._members, config=w.config.__class__(option=w.config.option), resolver=w.resolver ) list(w.walk())
w = get_walker() g = w.walk() next(g) list(w.walk()) print(list(g)) # ?
using Walker.append(), then the strategy returning cloned instance is not worked
e.g.