File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed
libs/labelbox/src/labelbox/schema Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -787,10 +787,8 @@ def validate_feature_schemas(
787
787
# A union with custom construction logic to improve error messages
788
788
class NDClassification (
789
789
SpecialUnion ,
790
- Type [
791
- Union [ # type: ignore
792
- NDText , NDRadio , NDChecklist
793
- ]
790
+ Type [ # type: ignore
791
+ Union [NDText , NDRadio , NDChecklist ]
794
792
],
795
793
): ...
796
794
@@ -966,8 +964,8 @@ class NDMask(NDBaseTool):
966
964
# A union with custom construction logic to improve error messages
967
965
class NDTool (
968
966
SpecialUnion ,
969
- Type [
970
- Union [ # type: ignore
967
+ Type [ # type: ignore
968
+ Union [
971
969
NDMask ,
972
970
NDTextEntity ,
973
971
NDPoint ,
@@ -981,10 +979,8 @@ class NDTool(
981
979
982
980
class NDAnnotation (
983
981
SpecialUnion ,
984
- Type [
985
- Union [ # type: ignore
986
- NDTool , NDClassification
987
- ]
982
+ Type [ # type: ignore
983
+ Union [NDTool , NDClassification ]
988
984
],
989
985
):
990
986
@classmethod
You can’t perform that action at this time.
0 commit comments