-
Notifications
You must be signed in to change notification settings - Fork 27
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
🐛 getters for user_role and email fixed #5041
🐛 getters for user_role and email fixed #5041
Conversation
b3321b2
to
9a4beeb
Compare
…arc-simcore-forked into pr-osparc-fix-broken.coroutine
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #5041 +/- ##
========================================
+ Coverage 85.8% 87.9% +2.1%
========================================
Files 1254 1108 -146
Lines 51596 46699 -4897
Branches 1088 572 -516
========================================
- Hits 44309 41089 -3220
+ Misses 7047 5481 -1566
+ Partials 240 129 -111
Flags with carried forward coverage won't be shown. Click here to find out more.
|
services/director-v2/src/simcore_service_director_v2/modules/osparc_variables_substitutions.py
Outdated
Show resolved
Hide resolved
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.
Please check the linters. it says when you are not awaiting
...director-v2/src/simcore_service_director_v2/modules/db/repositories/services_environments.py
Outdated
Show resolved
Hide resolved
packages/postgres-database/src/simcore_postgres_database/utils_users.py
Outdated
Show resolved
Hide resolved
packages/postgres-database/src/simcore_postgres_database/utils_users.py
Outdated
Show resolved
Hide resolved
...director-v2/src/simcore_service_director_v2/modules/db/repositories/services_environments.py
Outdated
Show resolved
Hide resolved
...director-v2/src/simcore_service_director_v2/modules/db/repositories/services_environments.py
Outdated
Show resolved
Hide resolved
...director-v2/src/simcore_service_director_v2/modules/db/repositories/services_environments.py
Outdated
Show resolved
Hide resolved
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.
Please change back the types in utils_users.py or explain why returning Any is a good idea.
services/director-v2/src/simcore_service_director_v2/modules/osparc_variables_substitutions.py
Outdated
Show resolved
Hide resolved
...director-v2/src/simcore_service_director_v2/modules/db/repositories/services_environments.py
Outdated
Show resolved
Hide resolved
…arc-simcore-forked into pr-osparc-fix-broken.coroutine
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 still do not agree
packages/postgres-database/src/simcore_postgres_database/utils_users.py
Outdated
Show resolved
Hide resolved
packages/postgres-database/src/simcore_postgres_database/utils_users.py
Outdated
Show resolved
Hide resolved
services/director-v2/src/simcore_service_director_v2/modules/db/repositories/users.py
Outdated
Show resolved
Hide resolved
…arc-simcore-forked into pr-osparc-fix-broken.coroutine
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.
all good!
Code Climate has analyzed commit d9dd8d9 and detected 0 issues on this pull request. View more on Code Climate. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
What do these changes do?
Fixed
OSPARC_VARIABLE_USER_EMAIL
andOSPARC_VARIABLE_USER_ROLE
. Coroutines were not awaited.str
type is enforced.Related issue/s
How to test
Dev Checklist
DevOps Checklist