-
Notifications
You must be signed in to change notification settings - Fork 292
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 Facility Hubs #2135
Added Facility Hubs #2135
Conversation
lgtm, |
@rithviknishad bump |
Need to resolve conflicts |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #2135 +/- ##
===========================================
+ Coverage 65.19% 65.32% +0.13%
===========================================
Files 242 242
Lines 13865 13933 +68
Branches 1925 1930 +5
===========================================
+ Hits 9039 9102 +63
- Misses 4448 4451 +3
- Partials 378 380 +2 ☔ View full report in Codecov by Sentry. |
LGTM |
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.
LGTM.
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.
Approving without Reviewing
check=~models.Q(hub=models.F("spoke")), | ||
name="hub_and_spoke_not_same", | ||
), | ||
# bidirectional uniqueness |
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.
This ensures bi directional uniqueness, but it does not make sense to have cyclical dependences
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 think the check is already there in serializers if I am understanding you correctly. I have also added it in the model now. Can you please verify if that is what you meant?
Proposed Changes
Associated Issue
Merge Checklist
/docs
Only PR's with test cases included and passing lint and test pipelines will be reviewed
@coronasafe/care-backend-maintainers @coronasafe/care-backend-admins