Skip to content

PythonRuntimeChecker_InvokeMethodAndGetOutParameters

QuantConnect.Python.PythonRuntimeChecker_InvokeMethodAndGetOutParameters

Bases: Generic[QuantConnect_Python_BasePythonWrapper_InvokeMethodAndGetOutParameters_PythonRuntimeChecker_TResult]

__call__

__call__(
    method: Any,
    python_method_name: str,
    out_parameters_types: List[Type],
    out_parameters: Optional[List[Object]],
    *args: Union[Object, Iterable[Object]]
) -> Tuple[
    QuantConnect_Python_BasePythonWrapper_InvokeMethodAndGetOutParameters_PythonRuntimeChecker_TResult,
    List[Object],
]

Invokes method method and converts the returned value to type t_result. It also makes sure the Python method returns values for the out parameters, converting them into the expected types in out_parameters_types and placing them in the out_parameters array.