capless / warrant

Python library for using AWS Cognito. With support for SRP.
Apache License 2.0
467 stars 190 forks source link

Response has no 'ResponseMetaData' , then this line will throw exception #132

Closed infinitedreams9586 closed 5 years ago

infinitedreams9586 commented 5 years ago

https://github.com/capless/warrant/blob/ff2e4793d8479e770f2461ef7cbc0c15ee784395/warrant/__init__.py#L316

proposed fix is : response.pop('ResponseMetadata', None)