Skip to content

Commit 4c9570f

Browse files
author
Dmitriy Apollonin
committed
better return type
1 parent 0c75403 commit 4c9570f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labelbox/schema/annotation_import.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def _create_from_bytes(cls, client, variables, query_str, file_name,
143143

144144
@classmethod
145145
def _get_ndjson_from_objects(cls, objects: List[Dict[str, Any]],
146-
object_name: str) -> BinaryIO:
146+
object_name: str) -> bytes:
147147
if not isinstance(objects, list):
148148
raise TypeError(
149149
f"{object_name} must be in a form of list. Found {type(objects)}"

0 commit comments

Comments
 (0)