def get_budget(self, message, connector, config, LOG): """ Gets the remaining compute time for the current user on this resource in core-hours. Returns "-1" if not available or applicable. """ quota = Quota.get_quota(config, LOG) connector.ok("%s\n" % quota)
def get_budget(self, message, connector, config, LOG): """ Gets the remaining compute time for the current user on this resource. See Quota.get_quota() for details. """ quota = Quota.get_quota(config, LOG) connector.ok("%s\n" % quota)