@@ -70,10 +70,12 @@ To get started, follow the steps below:
7070 secret = "your_service_account_secret"
7171 engine_name = "your_engine"
7272 database_name = "your_database"
73+ account_name = "your_account"
7374
7475 with connect(
7576 engine_name=engine_name,
7677 database=database_name,
78+ account_name=account_name,
7779 auth=ClientCredentials(id, secret),
7880 ) as connection:
7981 cursor = connection.cursor()
@@ -91,6 +93,7 @@ To get started, follow the steps below:
9193 FIREBOLT_CLIENT_SECRET="your_service_account_secret"
9294 FIREBOLT_ENGINE="your_engine"
9395 FIREBOLT_DB="your_database"
96+ FIREBOLT_ACCOUNT="your_account"
9497
9598 Be sure to place this ``.env `` file into your root directory.
9699
@@ -112,7 +115,8 @@ To get started, follow the steps below:
112115 os.getenv("FIREBOLT_CLIENT_SECRET")
113116 )
114117 engine_name=os.getenv('FIREBOLT_ENGINE'),
115- database=os.getenv('FIREBOLT_DB')
118+ database=os.getenv('FIREBOLT_DB'),
119+ account_name=os.getenv('FIREBOLT_ACCOUNT'),
116120 ) as connection:
117121 cursor = connection.cursor()
118122
@@ -395,12 +399,14 @@ It can be extended to run alongside of other operations.
395399 secret = "your_service_account_secret"
396400 engine_name = "your_engine"
397401 database_name = "your_database"
402+ account_name = "your_account"
398403
399404 query = "select * from my_table"
400405
401406 async with await async_connect(
402407 engine_name=engine_name,
403408 database=database_name,
409+ account_name=account_name,
404410 auth=ClientCredentials(id, secret),
405411 ) as connection:
406412 cursor = connection.cursor()
@@ -445,6 +451,7 @@ at the same time.
445451 secret = "your_service_account_secret"
446452 engine_name = "your_engine"
447453 database_name = "your_database"
454+ account_name = "your_account"
448455
449456 queries = [
450457 "select * from table_1",
@@ -455,6 +462,7 @@ at the same time.
455462 async with await async_connect(
456463 engine_name=engine_name,
457464 database=database_name,
465+ account_name=account_name,
458466 auth=ClientCredentials(id, secret),
459467 ) as connection:
460468 # Create async tasks for every query
@@ -520,6 +528,7 @@ load on both server and client machines can be controlled. A suggested way is to
520528 secret = "your_service_account_secret"
521529 engine_name = "your_engine"
522530 database_name = "your_database"
531+ account_name = "your_account"
523532
524533 queries = [
525534 "select * from table_1",
@@ -530,6 +539,7 @@ load on both server and client machines can be controlled. A suggested way is to
530539 async with await async_connect(
531540 engine_name=engine_name,
532541 database=database_name,
542+ account_name=account_name,
533543 auth=ClientCredentials(id, secret),
534544 ) as connection:
535545 # Create async tasks for every query
0 commit comments