Skip to content

Commit

Permalink
🦉 Updates from OwlBot post-processor
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] committed Sep 2, 2022
1 parent 1c9f830 commit 92e1db8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion google/api_core/rest_helpers.py
Expand Up @@ -81,7 +81,10 @@ def _flatten_value(obj, key_path, strict=False):


def _flatten_dict(obj, key_path, strict=False):
items = (_flatten(value, key_path=key_path + [key], strict=strict) for key, value in obj.items())
items = (
_flatten(value, key_path=key_path + [key], strict=strict)
for key, value in obj.items()
)
return functools.reduce(operator.concat, items, [])


Expand Down

0 comments on commit 92e1db8

Please sign in to comment.