AliasedPath#

class AliasedPath(alias: Alias, path: str)[source]#

Bases: AliasedModule

Aliased library path.

This is used to alias an unspecified object that cannot be inferred as a module or Callable until it is evaluated.

If this aliases a function it should be used via call method to dispatch to the called function.

If this aliases a module it should be used via get attribute to return the AliasedPath to the specified sub module or module function.

Methods

cache_clear

Clear cached attributes