def get_rse_account_usage(rse): """ Returns the account limit and usage for all for all accounts on a RSE. :param rse: The RSE name. :return: List of dictionnaries. """ return account_limit_core.get_rse_account_usage(rse=rse)
def get_rse_account_usage(rse): """ Returns the account limit and usage for all for all accounts on a RSE. :param rse: The RSE name. :return: List of dictionnaries. """ rse_id = get_rse_id(rse=rse) return [api_update_return_dict(d) for d in account_limit_core.get_rse_account_usage(rse_id=rse_id)]
def get_rse_account_usage(rse, vo='def', session=None): """ Returns the account limit and usage for all for all accounts on a RSE. :param rse: The RSE name. :param vo: The VO to act on. :param session: The database session in use. :return: List of dictionnaries. """ rse_id = get_rse_id(rse=rse, vo=vo, session=session) return [api_update_return_dict(d, session=session) for d in account_limit_core.get_rse_account_usage(rse_id=rse_id, session=session)]