API reference

python:astx:astx.ImportFromExpr.__init__

method __init__

__init__(names: list[AliasExpr], module: str = '', level: int = 0, loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None) -> None

Source: packages/astx/src/astx/packages.py:572

Declared as: python:astx:astx.packages.ImportFromExpr.__init__

Initialize the import-from expression.

Parameters

Search documentation

Type to search.