API reference
python:astx:astx.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:251
Declared as: python:astx:astx.callables.FunctionCall.__init__
Initialize the Call instance.
Parameters
-
fn — Type: FunctionDef | str
-
args — Type: Iterable[DataType]
-
type_ — Type: DataType
-
loc — Type: SourceLocation
-
parent — Type: Optional[ASTNodes]
-
keywords — Type: tuple[KeywordArgument, Ellipsis]