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 cefbede commit 986078aCopy full SHA for 986078a
libs/labelbox/src/labelbox/schema/task.py
@@ -59,6 +59,9 @@ def __eq__(self, task):
59
return isinstance(
60
task, Task) and task.uid == self.uid and task.type == self.type
61
62
+ def __hash__(self):
63
+ return hash(self.uid)
64
+
65
# Import and upsert have several instances of special casing
66
def is_creation_task(self) -> bool:
67
return self.name == 'JSON Import' or self.type == 'adv-upsert-data-rows'
0 commit comments