Skip to content

Commit f590cdf

Browse files
committed
tod
1 parent 7c4e4f2 commit f590cdf

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

src/superannotate/lib/core/reporter.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ def start_progress(
107107
description: str = "Processing",
108108
disable=False,
109109
):
110+
disable = disable or not self._log_info
110111
self.progress_bar = self.get_progress_bar(iterations, description, disable)
111112

112113
@staticmethod

src/superannotate/lib/core/usecases/items.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ def execute(self) -> Response:
623623
[i["annotation"] for i in id_annotation_map.values()]
624624
),
625625
service_provider=self._service_provider,
626-
reporter=Reporter(log_info=False),
626+
reporter=Reporter(log_info=False, log_debug=False),
627627
user=self._user,
628628
keep_status=True,
629629
transform_version="llmJson",

tests/integration/items/test_attach_items.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -408,15 +408,15 @@ def test_attach_gen_ai():
408408
},
409409
{
410410
"_item_name": "i_000016",
411-
"_item_category": "",
412-
"slider": "",
413-
"checkbox": "",
411+
"_item_category": None,
412+
"slider": None,
413+
"checkbox": None,
414414
"radio": "",
415-
"approve": "",
416-
"rating": "",
417-
"component_id_0": "",
418-
"component_id_1": "",
419-
"component_id_2": "",
415+
"approve": None,
416+
"rating": None,
417+
"component_id_0": None,
418+
"component_id_1": None,
419+
"component_id_2": None,
420420
},
421421
],
422422
)

0 commit comments

Comments
 (0)