From aa1b0a15da6734efa82ba7310485759a730f7898 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Thu, 4 Aug 2022 17:04:03 -0700 Subject: [PATCH] [python-experimental] removes print (#13107) * Removes print * Samples regenerated --- .../src/main/resources/python-experimental/schemas.handlebars | 1 - .../3_0_3_unit_test/python-experimental/unit_test_api/schemas.py | 1 - .../client/petstore/python-experimental/petstore_api/schemas.py | 1 - 3 files changed, 3 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/python-experimental/schemas.handlebars b/modules/openapi-generator/src/main/resources/python-experimental/schemas.handlebars index a23f3a6a4fe..99e0e64ef4c 100644 --- a/modules/openapi-generator/src/main/resources/python-experimental/schemas.handlebars +++ b/modules/openapi-generator/src/main/resources/python-experimental/schemas.handlebars @@ -1357,7 +1357,6 @@ class Schema: ): # We have a Dynamic class and we are making an instance of it if issubclass(cls, frozendict): - print(cls.__bases__) properties = cls._get_properties(arg, path_to_item, path_to_schemas) return super(Schema, cls).__new__(cls, properties) elif issubclass(cls, tuple): diff --git a/samples/openapi3/client/3_0_3_unit_test/python-experimental/unit_test_api/schemas.py b/samples/openapi3/client/3_0_3_unit_test/python-experimental/unit_test_api/schemas.py index a9aaf937372..5bcef725e3c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python-experimental/unit_test_api/schemas.py +++ b/samples/openapi3/client/3_0_3_unit_test/python-experimental/unit_test_api/schemas.py @@ -1364,7 +1364,6 @@ class Schema: ): # We have a Dynamic class and we are making an instance of it if issubclass(cls, frozendict): - print(cls.__bases__) properties = cls._get_properties(arg, path_to_item, path_to_schemas) return super(Schema, cls).__new__(cls, properties) elif issubclass(cls, tuple): diff --git a/samples/openapi3/client/petstore/python-experimental/petstore_api/schemas.py b/samples/openapi3/client/petstore/python-experimental/petstore_api/schemas.py index 0119b9d1f26..236dc390c67 100644 --- a/samples/openapi3/client/petstore/python-experimental/petstore_api/schemas.py +++ b/samples/openapi3/client/petstore/python-experimental/petstore_api/schemas.py @@ -1364,7 +1364,6 @@ class Schema: ): # We have a Dynamic class and we are making an instance of it if issubclass(cls, frozendict): - print(cls.__bases__) properties = cls._get_properties(arg, path_to_item, path_to_schemas) return super(Schema, cls).__new__(cls, properties) elif issubclass(cls, tuple):