We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5d93817 + a7747ee commit 71d027aCopy full SHA for 71d027a
quickstart/.env.Example
@@ -2,5 +2,6 @@
2
3
# RESTACK_ENGINE_ID=<your-engine-id>
4
# RESTACK_ENGINE_API_KEY=<your-engine-api-key>
5
+# RESTACK_ENGINE_API_ADDRESS=<your-engine-api-address>
6
# RESTACK_ENGINE_ADDRESS=<your-engine-address>
7
# RESTACK_CLOUD_TOKEN=<your-cloud-token>
quickstart/src/client.py
@@ -9,10 +9,12 @@
9
engine_id = os.getenv("RESTACK_ENGINE_ID")
10
address = os.getenv("RESTACK_ENGINE_ADDRESS")
11
api_key = os.getenv("RESTACK_ENGINE_API_KEY")
12
+api_address = os.getenv("RESTACK_ENGINE_API_ADDRESS")
13
14
connection_options = CloudConnectionOptions(
15
engine_id=engine_id,
16
address=address,
17
api_key=api_key,
18
+ api_address=api_address
19
)
20
client = Restack(connection_options)
0 commit comments