-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
added group_by property #2007
base: develop
Are you sure you want to change the base?
added group_by property #2007
Conversation
Can you create unit tests of the new method
Thank you. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not finished yet :-)
def get_scenarios( | ||
self, | ||
scenarios: t.Optional[t.List[t.Union[Cycle, Scenario]]], | ||
filters: t.Optional[t.List[t.Dict[str, t.Any]]], | ||
sorts: t.Optional[t.List[t.Dict[str, t.Any]]], | ||
group_by: t.Optional[str], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How do you specify that parameter ?
I think you need to add it as an external property in _GuiCoreLib.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok thanks for pointing that out. Will make the changes.
I made some changes to add group_by property. Please check and let me know where I'm going wrong? All kinds of pointers are appreciated. Fixes #169