Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f50fd2b

Browse files
committedJun 28, 2021
Lint
1 parent 5b95eb4 commit f50fd2b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎openapi_python_client/parser/properties/model_property.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,7 @@ def _is_subtype(first: Property, second: Property) -> bool:
6969
[
7070
_is_string_enum(first) and isinstance(second, StringProperty),
7171
_is_int_enum(first) and isinstance(second, IntProperty),
72-
_is_string_enum(first)
73-
and _is_string_enum(second)
74-
and values_are_subset(first, second),
72+
_is_string_enum(first) and _is_string_enum(second) and values_are_subset(first, second),
7573
_is_int_enum(first) and _is_int_enum(second) and values_are_subset(first, second),
7674
]
7775
)

0 commit comments

Comments
 (0)
Please sign in to comment.