Skip to content

Commit 2e0ff81

Browse files
Narek MkhitaryanNarek Mkhitaryan
authored andcommitted
added rest_session in get_annotations
1 parent 5573aac commit 2e0ff81

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

CHANGELOG.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,23 @@ History
66

77
All release highlights of this project will be documented in this file.
88

9+
10+
4.4.31 - Feb 27, 2025
11+
_____________________
12+
13+
**Added**
14+
15+
- Guide for Converting CSV and JSONL Formats.
16+
- New SDK Functionality Table.
17+
18+
**Updated**
19+
20+
- ``SAClient.attach_items_from_integrated_storage`` now supports Databricks integration, enabling efficient
21+
data fetching and mapping from Databricks into SuperAnnotate.
22+
923
4.4.30 - Feb 13, 2025
1024
_____________________
25+
1126
**Added**
1227

1328
- ``SAClient.list_users`` method lists contributors with optional custom field filtering.

src/superannotate/lib/infrastructure/stream_data_handler.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ async def fetch(
9191
"Invalid JSON detected in small annotations stream process."
9292
)
9393
else:
94+
self.rest_session()
9495
raise BackendError(
9596
"Invalid JSON detected at the start of the small annotations stream process."
9697
)
@@ -192,4 +193,4 @@ def _process_data(self, data):
192193
return data
193194

194195
def __del__(self):
195-
self._get_session.cache_clear()
196+
self.rest_session()

0 commit comments

Comments
 (0)