Support kwargs for flatten decorators
MODIFY
plextraktsync/decorators/flatten.py
plextraktsync/decorators/flatten.py
def flatten_list(method):
@wraps(method)
- def inner(*args):
- return list(method(*args))
+ def inner(*args, **kwargs):
+ return list(method(*args, **kwargs))
return inner
def flatten_dict(method):
@wraps(method)
- def inner(*args):
- return dict(method(*args))
+ def inner(*args, **kwargs):
+ return dict(method(*args, **kwargs))
return inner

Support kwargs for flatten decorators