Skip to content
This repository was archived by the owner on Mar 11, 2022. It is now read-only.

Commit 30bb9e1

Browse files
authored
Merge pull request #24 from cloudstateio/fix/startup
fix for Issue #23 "start shopping_cart.py on local development"
2 parents 598919b + bd1e688 commit 30bb9e1

6 files changed

Lines changed: 2 additions & 303 deletions

File tree

google/api/annotations_pb2.py

Lines changed: 0 additions & 46 deletions
This file was deleted.

google/api/annotations_pb2_grpc.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

google/api/http_pb2.py

Lines changed: 0 additions & 250 deletions
This file was deleted.

google/api/http_pb2_grpc.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ install_requires =
2525
grpcio == 1.28.1
2626
grpcio-tools == 1.28.1
2727
attrs == 19.3.0
28+
googleapis-common-protos >= 1.51.0
2829

2930
[aliases]
3031
test=pytest

shoppingcart/shopping_cart.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
if __name__ == '__main__':
66
logging.basicConfig()
7-
CloudState().register_event_sourced_entity(shopping_cart_entity).serve()
7+
CloudState().register_event_sourced_entity(shopping_cart_entity).start()

0 commit comments

Comments
 (0)