Skip to content

Commit b5b80ce

Browse files
author
Val Brodsky
committed
More Field conversions
1 parent 8c49b76 commit b5b80ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libs/labelbox/src/labelbox/schema/bulk_import_request.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -677,13 +677,13 @@ def determinants(parent_cls) -> List[str]:
677677

678678
class NDText(NDBase):
679679
ontology_type: Literal["text"] = "text"
680-
answer: str = pydantic_compat.Field(determinant=True)
680+
answer: str = PydanticField(determinant=True)
681681
#No feature schema to check
682682

683683

684684
class NDChecklist(VideoSupported, NDBase):
685685
ontology_type: Literal["checklist"] = "checklist"
686-
answers: List[NDFeatureSchema] = pydantic_compat.Field(determinant=True)
686+
answers: List[NDFeatureSchema] = PydanticField(determinant=True)
687687

688688
@field_validator('answers', mode='before')
689689
def validate_answers(cls, value, field):

0 commit comments

Comments
 (0)