Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

:ambulance: don't delete dict item while iterating #24

merged 2 commits into from Aug 20, 2019
Changes from 1 commit
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.


Just for now

@@ -386,11 +386,8 @@ def get_OAS_paths_part(self):
"responses": RESPONSES

paths_object = dict((k,v) for k, v in paths_object.items() if v)

This comment has been minimized.

Copy link

hound bot Aug 20, 2019

missing whitespace after ','

for path_item_key, path_item_value in paths_object.items():
# remove empty paths
if not path_item_value:
del paths_object[path_item_key]

for path_method in path_item_value.values():
# add tag
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.