From 42fd0aebd93e12a90f3c9f29e1cf98e52fc381ad Mon Sep 17 00:00:00 2001 From: Francesco Siddi Date: Wed, 16 Mar 2016 16:08:02 +0100 Subject: [PATCH] Added doc string for remove_none_attributes --- pillarsdk/utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pillarsdk/utils.py b/pillarsdk/utils.py index 110ca5a..a56a3ad 100644 --- a/pillarsdk/utils.py +++ b/pillarsdk/utils.py @@ -101,7 +101,9 @@ def convert_datetime(item): def remove_none_attributes(attributes): - """Return a new dict with all None values removed""" + """Return a new dict with all None values removed + :param attributes: Dictionary containing all the item attributes + """ # out = {} # for k, v in attributes.iteritems(): # if v is not None: