get_users currently advertises that it returns all users but in fact it only returns the first 60 due to the fact that client.list_users paginates after a limit of 60 users. I've changed it to pull all the users using the page token.
This seems reasonable to me but given this list could be large, it may be worth passing the page token back to the caller to allow them to pull each page themselves. This could be a seperate function perhaps. Any thoughts?
get_users currently advertises that it returns all users but in fact it only returns the first 60 due to the fact that client.list_users paginates after a limit of 60 users. I've changed it to pull all the users using the page token.
This seems reasonable to me but given this list could be large, it may be worth passing the page token back to the caller to allow them to pull each page themselves. This could be a seperate function perhaps. Any thoughts?