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
+
1
5
## 0.1.13
2
6
3
7
- Add py.typed marker
Original file line number Diff line number Diff line change 1
1
__title__ = "aidbox-python-sdk"
2
- __version__ = "0.1.13 "
2
+ __version__ = "0.1.14 "
3
3
__author__ = "beda.software"
4
4
__license__ = "None"
5
5
__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):
140
140
query_url = f"{ self ._settings .APP_INIT_URL } /Entity?type=resource&_elements=id&_count=999"
141
141
async with self ._client .get (query_url , raise_for_status = True ) as resp :
142
142
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" , []) ]
144
144
145
145
async def _init_table_cache (self ):
146
146
table_names = await self ._get_all_entities_name ()
You can’t perform that action at this time.
0 commit comments