[fix] cognito-idp list_users Filter arg now support spaces (#3317)

This commit is contained in:
Guy Moses 2020-09-19 13:26:01 +03:00 committed by GitHub
commit 7ce1e87477
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View file

@ -287,7 +287,7 @@ class CognitoIdpResponse(BaseResponse):
user_pool_id, limit=limit, pagination_token=token
)
if filt:
name, value = filt.replace('"', "").split("=")
name, value = filt.replace('"', "").replace(" ", "").split("=")
users = [
user
for user in users