Skip to content

Commit

Permalink
Update deps in example
Browse files Browse the repository at this point in the history
  • Loading branch information
ruscoder committed Nov 1, 2024
1 parent 55d1312 commit cfa81bc
Show file tree
Hide file tree
Showing 3 changed files with 328 additions and 307 deletions.
2 changes: 1 addition & 1 deletion example/app/operations/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ async def example_op(_operation: SDKOperation, request: SDKOperationRequest) ->
fhir_client = request["app"][ak.fhir_client]

await fhir_client.save(r4b.Patient(id="example"))
patient: r4b.Patient = await fhir_client.get(r4b.Patient, "example")
patient = await fhir_client.get(r4b.Patient, "example")

return web.json_response({"status": "ok", "patient": patient.model_dump()})

Loading

0 comments on commit cfa81bc

Please sign in to comment.