API reference
python:astx:astx.callables.FunctionCall.__init__
method __init__
__init__(fn: FunctionDef | str, args: Iterable[DataType], type_: DataType = AnyType(), loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None, *, keywords: tuple[KeywordArgument, ...] = ()) -> None
Source: packages/astx/src/astx/callables.py:221
Initialize the Call instance.
Parameters
-
fn — Function to process.; Type: FunctionDef | str
-
args — Arguments supplied to the operation.; Type: Iterable[DataType]
-
type_ — Type expression to process.; Type: DataType
-
loc — Source coordinates associated with the node.; Type: SourceLocation
-
parent — Parent node or enclosing scope.; Type: Optional[ASTNodes]
-
keywords — Keywords.; Type: tuple[KeywordArgument, ...]
Returns
Type: None