tests.system.google.cloud.spanner.example_spanner

Example Airflow DAG that creates, updates, queries and deletes a Cloud Spanner instance.

Attributes

ENV_ID

PROJECT_ID

DAG_ID

GCP_SPANNER_INSTANCE_ID

GCP_SPANNER_DATABASE_ID

GCP_SPANNER_CONFIG_NAME

GCP_SPANNER_NODE_COUNT

GCP_SPANNER_DISPLAY_NAME

OPERATION_ID

spanner_instance_create_task

test_run

Module Contents

tests.system.google.cloud.spanner.example_spanner.ENV_ID[source]
tests.system.google.cloud.spanner.example_spanner.PROJECT_ID[source]
tests.system.google.cloud.spanner.example_spanner.DAG_ID = 'spanner'[source]
tests.system.google.cloud.spanner.example_spanner.GCP_SPANNER_INSTANCE_ID = 'instance-spanner-Uninferable'[source]
tests.system.google.cloud.spanner.example_spanner.GCP_SPANNER_DATABASE_ID = 'database-spanner-Uninferable'[source]
tests.system.google.cloud.spanner.example_spanner.GCP_SPANNER_CONFIG_NAME = 'projects/Uninferable/instanceConfigs/regional-europe-west3'[source]
tests.system.google.cloud.spanner.example_spanner.GCP_SPANNER_NODE_COUNT = 1[source]
tests.system.google.cloud.spanner.example_spanner.GCP_SPANNER_DISPLAY_NAME = 'InstanceSpanner'[source]
tests.system.google.cloud.spanner.example_spanner.OPERATION_ID = 'unique_operation_id'[source]
tests.system.google.cloud.spanner.example_spanner.spanner_instance_create_task[source]
tests.system.google.cloud.spanner.example_spanner.test_run[source]

Was this entry helpful?