-
Notifications
You must be signed in to change notification settings - Fork 3
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
v0.1.2 #95
v0.1.2 #95
Conversation
Add support for UUIDs in request payloads
This reverts commit b0ac959.
Unify parent accessor methods
Implement patient programs
Revamp test/publish actions
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.
Some food for thought. View full project report here.
welkin/models/assessment.py
Outdated
def get(self, patient_id: str, encounter_id: str, *args, **kwargs): | ||
return super().get( | ||
f"{self._client.instance}/patients/{patient_id}/encounters/{encounter_id}/" | ||
f"assessments", |
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.
f"assessments", | |
"assessments", |
f-string is unnecessary here. This can just be a string. More details.
test/test_base.py
Outdated
assert args.varkw is not None, f"{v}.get must accept variable kwargs" | ||
if cls in Patient.subresources: | ||
try: | ||
assert args.args.index("patient_id") == 1, f"patient_id must be first" |
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.
assert args.args.index("patient_id") == 1, f"patient_id must be first" | |
assert args.args.index("patient_id") == 1, "patient_id must be first" |
f-string is unnecessary here. This can just be a string. More info.
No description provided.