Skip to content

PythonRuntimeChecker_InvokeMethodAndEnumerate

QuantConnect.Python.PythonRuntimeChecker_InvokeMethodAndEnumerate

Bases: Generic[QuantConnect_Python_BasePythonWrapper_InvokeMethodAndEnumerate_PythonRuntimeChecker_TItem]

__call__

__call__(
    method: Any,
    python_method_name: str,
    *args: Union[Object, Iterable[Object]]
) -> Sequence[
    QuantConnect_Python_BasePythonWrapper_InvokeMethodAndEnumerate_PythonRuntimeChecker_TItem
]

Invokes method method, expecting an enumerable or generator as return value, converting each item to type t_item on demand.