Skip to content

Commit 2224970

Browse files
authored
flake8 fix (#70)
1 parent 5d95ac8 commit 2224970

File tree

1 file changed

+2
-2
lines changed
  • inference_schema/parameter_types

1 file changed

+2
-2
lines changed

inference_schema/parameter_types/_util.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def get_swagger_for_list(python_data):
7373
else:
7474
nested_item_swagger = handle_standard_types(data)
7575
example.append(nested_item_swagger['example'])
76-
del(nested_item_swagger['example'])
76+
del nested_item_swagger['example']
7777

7878
schema = {"type": "array", "items": nested_item_swagger, "example": example}
7979
return schema
@@ -92,7 +92,7 @@ def get_swagger_for_nested_dict(python_data):
9292
nested_item_swagger = handle_standard_types(data)
9393

9494
examples[key] = nested_item_swagger['example']
95-
del(nested_item_swagger['example'])
95+
del nested_item_swagger['example']
9696
nested_items[key] = nested_item_swagger
9797

9898
schema = {"type": "object", "required": required, "properties": nested_items, "example": examples}

0 commit comments

Comments
 (0)