Closed ivica3730k closed 2 years ago
Every item in the order does not need to be completed at the same time. It is unsafe to assume that we can do
def check_order(self, order_id: str): resp = self.espa.call(f'item-status/{order_id}', body={'status': 'complete'}) logging.info(f"item-status returned: {resp}") return len(resp[order_id]) > 0
Every item in the order does not need to be completed at the same time. It is unsafe to assume that we can do