from typing import Dict


def _get_user_dict(client) -> Dict[str, dict]:
    """
        Returns a dict of all users with key userid and value the user object
    """
    response = client.users_list()
    users = response["members"]
    return {elem["id"]: elem for elem in users}