From e66fc4b3db49945e4c174769ce541da47b0faa3c Mon Sep 17 00:00:00 2001 From: martinibach Date: Sat, 11 Jan 2025 12:07:02 -0800 Subject: [PATCH 1/2] RESTACK_ENGINE_API_ADDRESS --- production_demo/src/client.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/production_demo/src/client.py b/production_demo/src/client.py index 8a2df4bf..3bd8324a 100644 --- a/production_demo/src/client.py +++ b/production_demo/src/client.py @@ -10,10 +10,12 @@ engine_id = os.getenv("RESTACK_ENGINE_ID") address = os.getenv("RESTACK_ENGINE_ADDRESS") api_key = os.getenv("RESTACK_ENGINE_API_KEY") +api_address = os.getenv("RESTACK_ENGINE_API_ADDRESS") connection_options = CloudConnectionOptions( engine_id=engine_id, address=address, - api_key=api_key + api_key=api_key, + api_address=api_address ) -client = Restack(connection_options) \ No newline at end of file +client = Restack(connection_options) From 0ac13d59693c132c2a89a12bbc66a7583e800e06 Mon Sep 17 00:00:00 2001 From: martinibach Date: Sat, 11 Jan 2025 12:13:56 -0800 Subject: [PATCH 2/2] change env example --- production_demo/.env.Example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/production_demo/.env.Example b/production_demo/.env.Example index 37f2354d..f5c51f82 100644 --- a/production_demo/.env.Example +++ b/production_demo/.env.Example @@ -3,4 +3,4 @@ # RESTACK_ENGINE_ID= # RESTACK_ENGINE_API_KEY= # RESTACK_ENGINE_ADDRESS= -# RESTACK_CLOUD_TOKEN= +# RESTACK_ENGINE_API_ADDRESS=