API reference
python:astx:astx.KeywordArgument
class KeywordArgument
KeywordArgument(name: str, value: DataType, loc: SourceLocation = NO_SOURCE_LOCATION)
Source: packages/astx/src/astx/callables.py:159
Declared as: python:astx:astx.callables.KeywordArgument
One named call argument, preserving its source expression.
Attributes
-
name — Type: str
-
value — Type: DataType
Methods
-
__init__ — Initialize a named argument.
-
get_struct — Render the named argument and its value.