Skip to content

PythonRuntimeChecker_InvokeMethodAndGetDictionary

QuantConnect.Python.PythonRuntimeChecker_InvokeMethodAndGetDictionary

Bases: Generic[QuantConnect_Python_BasePythonWrapper_InvokeMethodAndGetDictionary_PythonRuntimeChecker_TKey]

__call__

__call__(
    method: Any,
    python_method_name: str,
    *args: Union[Object, Iterable[Object]]
) -> Dictionary[
    QuantConnect_Python_BasePythonWrapper_InvokeMethodAndGetDictionary_PythonRuntimeChecker_TKey,
    QuantConnect_Python_BasePythonWrapper_InvokeMethodAndGetDictionary_PythonRuntimeChecker_TValue,
]

Invokes method method, expecting a dictionary as return value, which then will be converted to a managed dictionary, with type checking on each item conversion.