File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1+ ## 0.1.14
2+
3+ - Fix db innitialization crash for fhirschema
4+
15## 0.1.13
26
37- Add py.typed marker
Original file line number Diff line number Diff line change 11__title__ = "aidbox-python-sdk"
2- __version__ = "0.1.13 "
2+ __version__ = "0.1.14 "
33__author__ = "beda.software"
44__license__ = "None"
55__copyright__ = "Copyright 2024 beda.software"
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ async def _get_all_entities_name(self):
140140 query_url = f"{ self ._settings .APP_INIT_URL } /Entity?type=resource&_elements=id&_count=999"
141141 async with self ._client .get (query_url , raise_for_status = True ) as resp :
142142 json_resp = await resp .json ()
143- return [entry ["resource" ]["id" ] for entry in json_resp [ "entry" ] ]
143+ return [entry ["resource" ]["id" ] for entry in json_resp . get ( "entry" , []) ]
144144
145145 async def _init_table_cache (self ):
146146 table_names = await self ._get_all_entities_name ()
You can’t perform that action at this time.
0 commit comments