Creates a new Python import statement.
The configuration arguments
Readonly
moduleThe module name to import
Readonly
namesThe names to import from the module
Optional
Readonly
aliasThe alias for the module or imported name
Writes the import statement to the writer.
The writer to write to
Returns the string representation of the AST node. This method creates a new Writer instance and writes the node's content to it.
The string representation of the AST node
Represents a Python import statement. This class handles the generation of Python import statements, including simple imports, from imports, and imports with aliases.