Skip to content

Commit cedb556

Browse files
committed
Set class name required for DocumentTagInstance
1 parent 261ceaa commit cedb556

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

dev_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
pytest==6.2.4
33
pytest-xdist==2.3.0
44
pytest-parallel==0.1.0
5-
pytest-rerunfailures==10.2
5+
pytest-rerunfailures==10.2

src/superannotate_schemas/schemas/external/document.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ class EntityInstance(BaseDocumentInstance):
3030

3131
class TagInstance(BaseDocumentInstance):
3232
attributes: Optional[List[Attribute]] = Field(list())
33+
class_name: NotEmptyStr = Field(alias="className")
3334

3435

3536
class DocumentInstance(BaseDocumentInstance):

0 commit comments

Comments
 (0)