From 3aeef6ef1392c57e83bbca08104a22272d5ef0fa Mon Sep 17 00:00:00 2001 From: johnniemorrow Date: Wed, 31 Jul 2024 10:10:03 -0400 Subject: [PATCH] Update cart_object.py (#175) ..or change first param on line 33 from checkout_handle to handle --- .../ticket-reservation-python/example/cart_object.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patterns-use-cases/ticket-reservation/ticket-reservation-python/example/cart_object.py b/patterns-use-cases/ticket-reservation/ticket-reservation-python/example/cart_object.py index cce73751..04fccee8 100644 --- a/patterns-use-cases/ticket-reservation/ticket-reservation-python/example/cart_object.py +++ b/patterns-use-cases/ticket-reservation/ticket-reservation-python/example/cart_object.py @@ -3,7 +3,7 @@ from restate.context import ObjectContext from restate.object import VirtualObject -from example.checkout_service import handle +from example.checkout_service import handle as checkout_handle from example.ticket_object import reserve, mark_as_sold, unreserve cart = VirtualObject("cart")