Skip to content

Commit deaf249

Browse files
authored
optional review label id
1 parent 2009cec commit deaf249

File tree

1 file changed

+2
-2
lines changed
  • labelbox/data/serialization/labelbox_v1

1 file changed

+2
-2
lines changed

labelbox/data/serialization/labelbox_v1/label.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class Review(BaseModel):
110110
id: str
111111
created_at: str
112112
created_by: str
113-
label_id: str
113+
label_id: Optional[str] = None
114114

115115
class Config:
116116
alias_generator = camel_case
@@ -246,4 +246,4 @@ def _is_url(self) -> bool:
246246
"s3://")) or "tileLayerUrl" in self.row_data
247247

248248
class Config:
249-
allow_population_by_field_name = True
249+
allow_population_by_field_name = True

0 commit comments

Comments
 (0)