diff --git a/pdlwrapper/pdlwrapper.py b/pdlwrapper/pdlwrapper.py index e6a2998..36a6a06 100644 --- a/pdlwrapper/pdlwrapper.py +++ b/pdlwrapper/pdlwrapper.py @@ -3,6 +3,7 @@ """ import boto3 +import decimal import requests import time @@ -37,7 +38,7 @@ def get_person(self, params): 'timestamp': int(round(time.time() * 1000000)), 'env': self.env, 'status_code': resp.status_code, - 'response': resp.json() + 'response': resp.json(parse_float=decimal.Decimal) } self.dynamodb_table.put_item(Item=log_item) diff --git a/setup.py b/setup.py index 4a62b33..be38d40 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setuptools.setup( name="pdlwrapper", - version="1.0", + version="1.1", author="Tech For Campaigns", license="MIT", packages=setuptools.find_packages()