Skip to content

Commit d8c7558

Browse files
author
Matt Sokoloff
committed
small changes
1 parent f0792aa commit d8c7558

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

labelbox/schema/bulk_import_request.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,8 +492,11 @@ def build(cls: Any, data) -> "NDBase":
492492

493493
@classmethod
494494
def schema(cls):
495+
#TODO: Double check this to return subclasses
496+
#results.append()
495497
for cl in cls.get_union_types():
496498
print(cl.schema())
499+
#return cl.schema()
497500

498501

499502
class DataRow(BaseModel):
@@ -598,7 +601,6 @@ class NDClassification(
598601

599602
###### Tools ######
600603

601-
602604
class BaseTool(NDBase):
603605
classifications: List[NDClassification] = []
604606

0 commit comments

Comments
 (0)