API reference

python:astx:astx.ImportFromStmt

class ImportFromStmt

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

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

Declared as: python:astx:astx.packages.ImportFromStmt

Represents an import-from statement.

Attributes

Methods

Attributes

Search documentation

Type to search.