def auth_for_admin(project_name=None, trust_id=None):
    # TODO(elmiko) revisit the project_domain_name if we start getting
    # into federated authentication. it will need to match the domain that
    # the project_name exists in.
    auth = _password_auth(
        username=CONF.keystone_authtoken.admin_user,
        password=CONF.keystone_authtoken.admin_password,
        project_name=project_name,
        user_domain_name=CONF.admin_user_domain_name,
        project_domain_name=CONF.admin_project_domain_name,
        trust_id=trust_id)
    return auth
The number of temporary variables in this scope
dataset/ETHPy150Open openstack/sahara/sahara/utils/openstack/keystone.py/auth_for_admin--crossover with--dataset/ETHPy150Open pydata/pandas/pandas/computation/scope.py/Scope.ntemps