-
Notifications
You must be signed in to change notification settings - Fork 324
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
Add list and detail serializer patient external serializer #1539
Add list and detail serializer patient external serializer #1539
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #1539 +/- ##
===========================================
- Coverage 59.11% 59.01% -0.10%
===========================================
Files 207 207
Lines 11264 11325 +61
Branches 1599 1613 +14
===========================================
+ Hits 6659 6684 +25
- Misses 4405 4437 +32
- Partials 200 204 +4 ☔ View full report in Codecov by Sentry. |
class PatientExternalTestSerializer(serializers.ModelSerializer): | ||
# TODO: Remove when #5492 is completed and merged | ||
ward_object = WardSerializer(source="ward", read_only=True) | ||
local_body_object = LocalBodySerializer(source="local_body", read_only=True) | ||
district_object = DistrictSerializer(source="district", read_only=True) |
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.
remove this serializer
jwcrypto==1.5.0 # https://github.com/latchset/jwcrypto/releases | ||
pycryptodome==3.16.0 | ||
pycryptodomex==3.16.0 | ||
Faker==19.3.0 |
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.
we have switched to pipenv
run pipenv install --dev faker
Proposed Changes
patient_external.py
Associated Issue
patient_external.py
in [C4GT] Create different serializers for list and detail views care_fe#5492Merge Checklist
Only PR's with test cases included and passing lint and test pipelines will be reviewed
@coronasafe/care-backend-maintainers @coronasafe/care-backend-admins