Went on a PEP-8 rampage
This commit is contained in:
parent
f99ad30fb6
commit
0948c9308a
36 changed files with 186 additions and 218 deletions
|
|
@ -36,7 +36,6 @@ def to_map(data, func):
|
|||
Args:
|
||||
data: Input iterable data
|
||||
func: Function to apply to all non-iterable values
|
||||
excluded_keys: Any dictionary keys to exclude from the returned data
|
||||
"""
|
||||
# If the object is a dictionary
|
||||
if isinstance(data, abc.Mapping):
|
||||
|
|
@ -58,7 +57,6 @@ def json_map(data, clean_keys=True):
|
|||
Args:
|
||||
data: Input dictionary
|
||||
clean_keys: Modify any keys unsuitable for JSON return
|
||||
|
||||
"""
|
||||
|
||||
# Do not overwrite original data dictionary
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue