API reference

python:astx:astx.ImportExpr

class ImportExpr

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

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

Declared as: python:astx:astx.packages.ImportExpr

Represents an import operation as an expression.

Attributes

Methods

Attributes

Search documentation

Type to search.