diff --git a/betterboto/utils.py b/betterboto/utils.py index cd75e2d..a6eb60d 100644 --- a/betterboto/utils.py +++ b/betterboto/utils.py @@ -7,9 +7,14 @@ def slurp( name, func, response_to_concat, next_token_name_in_response='NextPageToken', next_token_name_in_request='PageToken', - wait_between_pages=0, logging_prefix="", + wait_between_pages=0, **kwargs ): + logging_prefix = '' + if kwargs.get('logging_prefix'): + logging_prefix = kwargs.get('logging_prefix') + del kwargs['logging_prefix'] + logger.info("{}{}: {}".format(logging_prefix, name, kwargs)) all_responses = [] while True: diff --git a/setup.py b/setup.py index aee78ac..237ba39 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setuptools.setup( name="better-boto", - version="0.41.0", + version="0.41.1", author="Eamonn Faherty", author_email="python-packages@designandsolve.co.uk", description="Helpers to make using boto3 more enjoyable",