Ast helpers#

class ivy.utils.backend.ast_helpers.ImportTransformer[source]#

Bases: NodeTransformer

__init__()[source]#
impersonate_import(tree, local_ivy_id=None)[source]#
visit_Import(node)[source]#
visit_ImportFrom(node)[source]#
class ivy.utils.backend.ast_helpers.IvyLoader(filename)[source]#

Bases: Loader

__init__(filename)[source]#
exec_module(module, local_ivy_id=None)[source]#
class ivy.utils.backend.ast_helpers.IvyPathFinder[source]#

Bases: MetaPathFinder

find_spec(fullname, path, target=None)[source]#

This should have hopefully given you an overview of the ast_helpers submodule, if you have any questions, please feel free to reach out on our discord!