Skip to content

Conversation

@jhonabreul
Copy link
Collaborator

@jhonabreul jhonabreul 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:

internal class KeyValuePairEnumerableObject : ClassObject

Copy link
Member

@Martin-Molinero Martin-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!

@jhonabreul jhonabreul force-pushed the bug-8717-python-dict-tidy-up branch from 1d03ccc to 05b8cbc Compare May 1, 2025 14:44
@Martin-Molinero Martin-Molinero merged commit e303acf into QuantConnect:master May 1, 2025
0 of 21 checks passed
@jhonabreul jhonabreul deleted the bug-8717-python-dict-tidy-up branch May 1, 2025 14:54
Sign up for free to 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