Skip to content

Commit ff1cdd6

Browse files
author
Matt Sokoloff
committed
create copy of video annotations
1 parent e8ffc7d commit ff1cdd6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

labelbox/data/serialization/labelbox_v1/converter.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
import ndjson
55
import requests
6+
from copy import deepcopy
67
from requests.exceptions import HTTPError
78
from google.api_core import retry
89

@@ -79,6 +80,7 @@ def __init__(self, examples, client):
7980
super().__init__(examples)
8081

8182
def _process(self, value):
83+
value = deepcopy(value)
8284
if 'frames' in value['Label']:
8385
req = self._request(value)
8486
value['Label'] = ndjson.loads(req)

0 commit comments

Comments
 (0)