Skip to content

Commit f1ca683

Browse files
committed
remove second unused type_string check in ModelProperty
1 parent 8978e6c commit f1ca683

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

openapi_python_client/parser/properties/model_property.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,6 @@ def get_type_string(
111111
if model_parent:
112112
if type_string == model_parent.class_info.name:
113113
type_string = f"'{type_string}'"
114-
if type_string == f"List[{model_parent.class_info.name}]":
115-
type_string = f"List['{model_parent.class_info.name}']"
116114

117115
if type_string == self.class_info.name:
118116
type_string = f"'{type_string}'"

0 commit comments

Comments
 (0)