Skip to content

Commit 8d4f566

Browse files
authored
Fix typo
1 parent 8828ebe commit 8d4f566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aidbox_python_sdk/db.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ async def _get_all_entities_name(self):
144144
json_resp = await resp.json()
145145
result = [entry["resource"]["id"] for entry in json_resp.get("entry", [])]
146146

147-
if result is None or len(result) == []:
147+
if result is None or len(result) == 0:
148148
# Load resource type from fhir schema
149149
query_url = f"{self._settings.APP_INIT_URL}/$resource-types"
150150
async with self._client.get(query_url) as resp:

0 commit comments

Comments
 (0)