Skip to content

Conversation

@jhonabreul
Copy link
Collaborator

@jhonabreuljhonabreul commented Apr 25, 2025

Add container methods (len and iter) to classes that implement Count and ContainsKey.
We do the same for KeyValuePair enumerables.

See:

internalclassKeyValuePairEnumerableObject:ClassObject

Copy link
Member

@Martin-MolineroMartin-Molinero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@jhonabreuljhonabreulforce-pushed the bug-8717-python-dict-tidy-up branch from 1d03ccc to 05b8cbcCompareMay 1, 2025 14:44
@Martin-MolineroMartin-Molinero merged commit e303acf into QuantConnect:masterMay 1, 2025
0 of 21 checks passed
@jhonabreuljhonabreul deleted the bug-8717-python-dict-tidy-up branch May 1, 2025 14:54
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@jhonabreul@Martin-Molinero