Skip to content

Commit 422cda9

Browse files
committed
"entry" key has been removed
1 parent a80a0b8 commit 422cda9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyterhealth_client/_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def _fhir_list_api_request(
159159
while True:
160160
new_records = False
161161
requests += 1
162-
for entry in r["entry"]:
162+
for entry in r:
163163
# entry seems to always be a dict with one key?
164164
if isinstance(entry, dict) and len(entry) == 1:
165165
# return entry['resource'] which is ~always the only thing

0 commit comments

Comments
 (0)