Skip to content

ExtendedDictionary_SetDefaultKeyNotFoundDueToNoData

QuantConnect.ExtendedDictionary_SetDefaultKeyNotFoundDueToNoData

Bases: Generic[QuantConnect_Messages_SetDefaultKeyNotFoundDueToNoData_ExtendedDictionary_TKey]

__call__

__call__(
    instance: ExtendedDictionary[
        QuantConnect_Messages_SetDefaultKeyNotFoundDueToNoData_ExtendedDictionary_TKey,
        QuantConnect_Messages_SetDefaultKeyNotFoundDueToNoData_ExtendedDictionary_TValue,
    ],
    key: QuantConnect_Messages_SetDefaultKeyNotFoundDueToNoData_ExtendedDictionary_TKey,
) -> str

Returns the KeyNotFoundDueToNoData{TKey, TValue} message plus a note explaining that setdefault could not insert the default because the collection is read-only