Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support __getitem__ for Groups #774

Merged
merged 4 commits into from
Feb 22, 2024
Merged

Support __getitem__ for Groups #774

merged 4 commits into from
Feb 22, 2024

Conversation

PythonFZ
Copy link
Member

Fixes #773 by adding support for

assert list(group_1) == [node_1, node_2]
group_1["ParamsToOuts"] == node_1
group_1["Group1_ParamsToOuts"] == node_1
"Group1_ParamsToOuts" in group_1
"ParamsToOuts" in group_1

@PythonFZ PythonFZ changed the title Support __getitem for Groups Support __getitem__ for Groups Feb 22, 2024
@PythonFZ PythonFZ changed the base branch from 762-zntrack-cite-to-list-all-citations-from-nodes to main February 22, 2024 07:18
Copy link

codecov bot commented Feb 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ce2a572) 86.60% compared to head (cec1cbe) 86.69%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #774      +/-   ##
==========================================
+ Coverage   86.60%   86.69%   +0.09%     
==========================================
  Files          25       25              
  Lines        2015     2030      +15     
  Branches      856      867      +11     
==========================================
+ Hits         1745     1760      +15     
  Misses        270      270              
Flag Coverage Δ
fulltest 86.69% <100.00%> (+0.09%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@PythonFZ PythonFZ merged commit 8f274c6 into main Feb 22, 2024
13 checks passed
@PythonFZ PythonFZ deleted the PythonFZ/issue773 branch February 22, 2024 08:18
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.

Allow grp.__getitem__
1 participant