Skip to content

Commit a265b99

Browse files
committed
Use "elif" instead of "if"
1 parent db9c952 commit a265b99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openapi_core/unmarshalling/schemas/unmarshallers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def _unmarshal_object(self, value):
200200
if properties is None:
201201
log.warning("valid oneOf schema not found")
202202

203-
if 'anyOf' in self.schema:
203+
elif 'anyOf' in self.schema:
204204
properties = None
205205
for any_of_schema in self.schema / 'anyOf':
206206
try:

0 commit comments

Comments
 (0)