API reference

python:astx:astx.ImportFromStmt.get_struct

method get_struct

get_struct(simplified: bool = False) -> ReprStruct

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

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

Return the AST structure of the import-from statement.

Parameters

Returns

Type: ReprStruct

Search documentation

Type to search.