def whoami(client: AuthenticatedClient) -> UserModel:
    """Sends a GET request to `/api/me` endpoint to get the current user information.

    Args:
        client: the authenticated Argilla client to be used to send the request to the API.

    Returns:
        A `UserModel` instance with the current user information.
    """
    url = "/api/me"

    response = client.get(url)
    return UserModel(**response)
Sends a GET request to `/api/me` endpoint to get the current user information.

    Args:
        client: the authenticated Argilla client to be used to send the request to the API.

    Returns:
        A `UserModel` instance with the current user information.
    
argilla-v1/src/argilla_v1/client/sdk/users/api.py