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

GroupParamType: store group if created #5411

Merged
merged 2 commits into from
Mar 9, 2022

Conversation

sphuber
Copy link
Contributor

@sphuber sphuber commented Mar 6, 2022

Fixes #5409

When create_if_not_exist is equal to True, the GroupParamType will
create the group if it is not found when convert is called. The
returned group however was not stored forcing the caller to store it
themselves. When a client sets create_if_not_exist for a CLI command
it will be extremely unlikely that they don't want the group to be
stored.

When `create_if_not_exist` is equal to `True`, the `GroupParamType` will
create the group if it is not found when `convert` is called. The
returned group however was not stored forcing the caller to store it
themselves. When a client sets `create_if_not_exist` for a CLI command
it will be extremely unlikely that they don't want the group to be
stored.
@sphuber sphuber force-pushed the fix/5409/group-param-type-store branch from e9f30b0 to 271232b Compare March 7, 2022 18:03
Copy link
Member

@mbercx mbercx left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks @sphuber!

@sphuber sphuber merged commit de0fde5 into aiidateam:develop Mar 9, 2022
@sphuber sphuber deleted the fix/5409/group-param-type-store branch March 9, 2022 09:42
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.

GroupParamType should store the group when it creates one
2 participants