API reference

python:astx:astx.packages.ImportStmt

class ImportStmt

ImportStmt(names: list[AliasExpr], loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None)

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

Represents an import statement.

Attributes

Methods

Attributes

Search documentation

Type to search.