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 46fe4d1 commit 49b418aCopy full SHA for 49b418a
libs/labelbox/src/labelbox/schema/slice.py
@@ -1,3 +1,4 @@
1
+from pydantic import ConfigDict
2
from pydantic.dataclasses import dataclass
3
from typing import Optional, Tuple, Union
4
import warnings
@@ -36,6 +37,7 @@ class Slice(DbObject):
36
37
class DataRowIdAndGlobalKey:
38
id: UniqueId
39
global_key: Optional[GlobalKey]
40
+ model_config = ConfigDict(arbitrary_types_allowed=True)
41
42
def __init__(self, id: str, global_key: Optional[str]):
43
self.id = UniqueId(id)
0 commit comments