We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Property
1 parent f1ca683 commit 36b00edCopy full SHA for 36b00ed
openapi_python_client/parser/properties/property.py
@@ -93,12 +93,6 @@ def get_type_string(
93
else:
94
type_string = self.get_base_type_string(quoted=quoted)
95
96
- if quoted and model_parent:
97
- if type_string == model_parent.class_info.name:
98
- type_string = f"'{type_string}'"
99
- if type_string == f"List[{model_parent.class_info.name}]":
100
- type_string = f"List['{model_parent.class_info.name}']"
101
-
102
if no_optional or (self.required and not self.nullable):
103
return type_string
104
if self.required and self.nullable:
0 commit comments