':type order: Order'

def update(self, order):

    assert isinstance(order, Order), type(order)
    self._logger.debug((('Order    with    the    id:    ' + str(order.order_id)) + '    was    updated    to    the    order    repository'))
    self._orders[order.order_id] = order
