Docstring cleanup
This commit is contained in:
parent
ec4aa780c2
commit
e34d9c5693
1 changed files with 5 additions and 5 deletions
|
@ -20,8 +20,8 @@ def ensure_format(val, allowed, required, allowed_values=None, defaults=None):
|
||||||
:param allowed: Set of allowed keys.
|
:param allowed: Set of allowed keys.
|
||||||
:param required: Set of required keys.
|
:param required: Set of required keys.
|
||||||
:param allowed_values: Dictionary with keys and sets of their allowed values.
|
:param allowed_values: Dictionary with keys and sets of their allowed values.
|
||||||
:returns: List of checked dictionaries.
|
|
||||||
:param defaults: Dictionary with default values.
|
:param defaults: Dictionary with default values.
|
||||||
|
:returns: List of checked dictionaries.
|
||||||
'''
|
'''
|
||||||
if not val:
|
if not val:
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Reference in a new issue