def client(config):
    """Create a client instance and log in as a superuser."""
    client = R2RClient(config.base_url)
    client.users.login(config.superuser_email, config.superuser_password)
    return client
Create a client instance and log in as a superuser.
py/tests/integration/test_retrieval.py