Skip to content

Commit 356ded9

Browse files
committed
Changed stremed data handler DELIMITER
1 parent 762db47 commit 356ded9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/superannotate/lib/core/data_handlers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ def handle(self, annotation: dict):
205205
]:
206206
annotation_class_name = annotation_instance["className"]
207207
annotation_class = self.get_annotation_class(annotation_class_name)
208+
208209
if not annotation_class:
209210
self.reporter.log_warning(
210211
f"Couldn't find annotation class {annotation_class_name}"

src/superannotate/lib/infrastructure/stream_data_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def map_image_names_to_fetch_streamed_data(data: List[str]):
1313

1414

1515
class StreamedAnnotations:
16-
DELIMITER = b';)'
16+
DELIMITER = b'\n:)\n'
1717

1818
def __init__(self, headers: dict):
1919
self._headers = headers

0 commit comments

Comments
 (0)