Skip to content

Commit

Permalink
style format
Browse files Browse the repository at this point in the history
  • Loading branch information
mfleader committed May 2, 2024
1 parent 9088530 commit 78ad409
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/arcaflow_plugin_sdk/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 78ad409

Please sign in to comment.