API reference

python:astx:astx.Argument

class Argument

Argument(name: str, type_: DataType, mutability: MutabilityKind = MutabilityKind.constant, default: Expr = UNDEFINED, loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None)

Source: packages/astx/src/astx/callables.py:31

Declared as: python:astx:astx.callables.Argument

AST class for argument definition.

Attributes

Methods

Attributes

Search documentation

Type to search.