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
CM-313: Tasks are not created after benefit plan update #18
Conversation
CI Update for openimis-be-tasks_management_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.
I don't quite understand this change. Is there a need to create one empty dict and returning it globally? I don't think that's safe and could lead to unexpected results.
For instance, if someone will add key to EMPTY_DICT outside of service then service results will be afected. Shouldn't we create instance of dict in here instead?
You are right. Just removed EMPTY_DICT const. You can re-check |
Kudos, SonarCloud Quality Gate passed! |
* CM-313: Tasks are not created after benefit plan update (#18) * CI update * CI Update 2 * CM-313: fixing creation of tasks - no longer json_ext as type * CM-313: removed EMPTY_DICT and changed to {} --------- Co-authored-by: Damian Borowiecki <dborowiecki@soldevelo.com> Co-authored-by: Jan <jdolkowski@soldevelo.com> * CM-327: connects tasks and mutations --------- Co-authored-by: sniedzielski <52816247+sniedzielski@users.noreply.github.com> Co-authored-by: Damian Borowiecki <dborowiecki@soldevelo.com> Co-authored-by: Jan <j.dolkowski@soldevelo.com>
CM-313: Tasks are not created after benefit plan update (#18)
* CI update * CI Update 2 * Added update job (#19) * CM-327: connect tasks and mutations (#20) * CM-313: Tasks are not created after benefit plan update (#18) * CI update * CI Update 2 * CM-313: fixing creation of tasks - no longer json_ext as type * CM-313: removed EMPTY_DICT and changed to {} --------- Co-authored-by: Damian Borowiecki <dborowiecki@soldevelo.com> Co-authored-by: Jan <jdolkowski@soldevelo.com> * CM-327: connects tasks and mutations --------- Co-authored-by: sniedzielski <52816247+sniedzielski@users.noreply.github.com> Co-authored-by: Damian Borowiecki <dborowiecki@soldevelo.com> Co-authored-by: Jan <j.dolkowski@soldevelo.com> --------- Co-authored-by: Damian Borowiecki <dborowiecki@soldevelo.com> Co-authored-by: Jan <jdolkowski@soldevelo.com> Co-authored-by: Damian Borowiecki <dborowiecki7@gmail.com> Co-authored-by: sniedzielski <52816247+sniedzielski@users.noreply.github.com> Co-authored-by: Jan <j.dolkowski@soldevelo.com> Co-authored-by: Patrick Delcroix <delcroip@gmail.com>
TICKET: https://openimis.atlassian.net/browse/CM-313
Issue caused by having json_ext as type, not dict