diff --git a/src/arcaflow_plugin_sdk/schema.py b/src/arcaflow_plugin_sdk/schema.py index 7df2150..df37360 100644 --- a/src/arcaflow_plugin_sdk/schema.py +++ b/src/arcaflow_plugin_sdk/schema.py @@ -2592,7 +2592,9 @@ class OneOfSchema(_JSONSchemaGenerator, _OpenAPIGenerator): ), ] oneof_type: typing.Annotated[str, _name("One Of Type Schema Name")] = None - discriminator_type: typing.Annotated[str, _name("Discriminator Type")] = None + discriminator_type: typing.Annotated[str, _name("Discriminator Type")] = ( + None + ) discriminator_field_name: typing.Annotated[ str, _name("Discriminator field name"), @@ -2812,7 +2814,6 @@ def __post_init__(self): self.discriminator_type = "string" - @dataclass class OneOfIntSchema(OneOfSchema): """This class holds the definition of variable types with an integer