File tree 3 files changed +3
-2
lines changed
src/openapi_python_generator/language_converters/python
3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -129,3 +129,4 @@ dmypy.json
129
129
.pyre /
130
130
/.idea /
131
131
/testclient /
132
+ /tests /test_result /
Original file line number Diff line number Diff line change 21
21
from openapi_python_generator .models import TypeConversion
22
22
23
23
24
- def type_converter (
24
+ def type_converter ( # noqa: C901
25
25
schema : Schema ,
26
26
required : bool = False ,
27
27
model_name : Optional [str ] = None ,
Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ def _generate_params(
170
170
for param in operation .parameters :
171
171
if isinstance (param , Parameter ) and param .param_in == param_in :
172
172
param_name_cleaned = common .normalize_symbol (param .name )
173
- params .append (f"' { param .name } ' : { param_name_cleaned } " )
173
+ params .append (f"{ param .name !r } : { param_name_cleaned } " )
174
174
175
175
return params
176
176
You can’t perform that action at this time.
0 commit comments