API reference
python:astx:astx.StaticMethodCall
class StaticMethodCall
StaticMethodCall(class_name: str, method_name: str, args: Iterable[astx.DataType], *, keywords: tuple[astx.KeywordArgument, ...] = ())
Source: packages/astx/src/astx/classes_ext.py:420
Declared as: python:astx:astx.classes_ext.StaticMethodCall
Class-scoped static method call expression.
Attributes
-
class_name — Type: str
-
method_name — Type: str
-
args — Type: tuple[astx.DataType, Ellipsis]
-
keywords — Type: tuple[astx.KeywordArgument, Ellipsis]
-
type_ — Type: AnyType
Methods
-
__init__ — Initialize one static method call expression.
-
__str__ — Render one static method call expression as text.
-
get_struct — Build one repr structure for a static method call.