We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7a790a commit 21a10a1Copy full SHA for 21a10a1
sdk/diffgram/convert/convert.py
@@ -11,9 +11,11 @@ def convert_label(self, instance):
11
12
name = instance.get('name')
13
14
+ if instance.get('type') == 'global':
15
+ return instance
16
+
17
if not name:
18
raise Exception("Key Error: Instance must have a key 'name'.")
-
19
instance["label_file_id"] = self.client.name_to_file_id.get(name, None)
20
21
if not instance["label_file_id"]:
0 commit comments