File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
openapi_python_client/parser/properties Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -172,12 +172,12 @@ def property_from_data(
172172def _property_from_data ( # noqa: PLR0911, PLR0912
173173 name : str ,
174174 required : bool ,
175- data : oai .Reference | oai . Schema ,
175+ data : oai .Schema ,
176176 schemas : Schemas ,
177177 parent_name : str ,
178178 config : Config ,
179- process_properties : bool = True ,
180- roots : set [ReferencePath | utils .ClassName ] | None = None ,
179+ process_properties : bool ,
180+ roots : set [ReferencePath | utils .ClassName ],
181181) -> tuple [Property | PropertyError , Schemas ]:
182182 sub_data : list [oai .Schema | oai .Reference ] = data .allOf + data .anyOf + data .oneOf
183183 # A union of a single reference should just be passed through to that reference (don't create copy class)
You can’t perform that action at this time.
0 commit comments