From 62be019bd529b1f92ec1b0fedec0a6f1cb938de5 Mon Sep 17 00:00:00 2001 From: Matthew F Leader Date: Mon, 29 Apr 2024 16:40:30 -0400 Subject: [PATCH] rm init in schemas --- src/arcaflow_plugin_sdk/schema.py | 32 ------------------------------- 1 file changed, 32 deletions(-) diff --git a/src/arcaflow_plugin_sdk/schema.py b/src/arcaflow_plugin_sdk/schema.py index 5fe6fd3..bd96249 100644 --- a/src/arcaflow_plugin_sdk/schema.py +++ b/src/arcaflow_plugin_sdk/schema.py @@ -2809,22 +2809,6 @@ class OneOfStringSchema(OneOfSchema): "_discriminated_string_" ) - def __init__( - self, - types: Dict[ - str, typing.Annotated[_OBJECT_LIKE, discriminator("type_id")] - ], - discriminator_inlined: bool, - discriminator_field_name: str = None, - oneof_type: str = None, - ): - super().__init__( - types=types, - discriminator_inlined=discriminator_inlined, - discriminator_field_name=discriminator_field_name, - oneof_type=self.oneof_type, - ) - @dataclass class OneOfIntSchema(OneOfSchema): @@ -2937,22 +2921,6 @@ class OneOfIntSchema(OneOfSchema): "_discriminated_int_" ) - def __init__( - self, - types: Dict[ - int, typing.Annotated[_OBJECT_LIKE, discriminator("type_id")] - ], - discriminator_inlined: bool, - discriminator_field_name: str = None, - oneof_type: str = None, - ): - super().__init__( - types=types, - discriminator_inlined=discriminator_inlined, - discriminator_field_name=discriminator_field_name, - oneof_type=self.oneof_type, - ) - @dataclass class RefSchema(_JSONSchemaGenerator, _OpenAPIGenerator):