_PythonWrapper_InvokeMethod
QuantConnect.Python._PythonWrapper_InvokeMethod
__call__
__call__(
model: Any,
method_name: str,
*args: Union[Object, Iterable[Object]]
) -> None
Invokes the specified method on the provided PyObject instance with the specified arguments
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
model
|
Any
|
The PyObject instance |
required |
method_name
|
str
|
The name of the method to invoke |
required |
args
|
Union[Object, Iterable[Object]]
|
The arguments to call the method with |
()
|
__getitem__
__getitem__(
type: Type[
QuantConnect_Python_PythonWrapper_InvokeMethod_T
],
) -> _Typed_PythonWrapper_InvokeMethod[
QuantConnect_Python_PythonWrapper_InvokeMethod_T
]