Skip to content

Commit 51a3e51

Browse files
committed
lint
1 parent 6461fab commit 51a3e51

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

openapi_python_client/parser/properties/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,12 +172,12 @@ def property_from_data(
172172
def _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)

0 commit comments

Comments
 (0)