Creates a new Python assignment statement.
The configuration arguments
ReadonlytargetThe target variable name
ReadonlyvalueThe value to assign
Optional ReadonlytypeType annotation for the target
ReadonlyisWhether this is a class variable
Writes the assignment 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 assignment statement. This class handles the generation of Python assignment statements, which can include type annotations and handle class vs. instance variables.