def get(self, address, shopType, date): address = address.strip().lower() shopType = shopType.strip().lower() date = date.strip() # format: YYYY-MM-DD return asJson(batch.batchAllotment(address, shopType, date))