tests.system.providers.google.cloud.sql_to_sheets.example_sql_to_sheets
¶
Example DAG using SQLToGoogleSheetsOperator.
This DAG relies on the following OS environment variables
AIRFLOW__API__GOOGLE_KEY_PATH - Path to service account key file. Note, you can skip this variable if you run this DAG in a Composer environment.
Module Contents¶
- tests.system.providers.google.cloud.sql_to_sheets.example_sql_to_sheets.DAG_ID = 'sql_to_sheets'[source]¶
- tests.system.providers.google.cloud.sql_to_sheets.example_sql_to_sheets.REGION = 'europe-west2'[source]¶
- tests.system.providers.google.cloud.sql_to_sheets.example_sql_to_sheets.NETWORK = 'default'[source]¶
- tests.system.providers.google.cloud.sql_to_sheets.example_sql_to_sheets.CONNECTION_TYPE = 'postgres'[source]¶
- tests.system.providers.google.cloud.sql_to_sheets.example_sql_to_sheets.FILE_NAME = 'result.json'[source]¶
- tests.system.providers.google.cloud.sql_to_sheets.example_sql_to_sheets.DB_USER_NAME = 'root'[source]¶
- tests.system.providers.google.cloud.sql_to_sheets.example_sql_to_sheets.DB_USER_PASSWORD = 'demo_password'[source]¶
- tests.system.providers.google.cloud.sql_to_sheets.example_sql_to_sheets.SETUP_POSTGRES_COMMAND[source]¶
- tests.system.providers.google.cloud.sql_to_sheets.example_sql_to_sheets.SQL_TABLE = 'test_table'[source]¶
- tests.system.providers.google.cloud.sql_to_sheets.example_sql_to_sheets.GCE_MACHINE_TYPE = 'n1-standard-1'[source]¶
- tests.system.providers.google.cloud.sql_to_sheets.example_sql_to_sheets.CREATE_FIREWALL_RULE_COMMAND[source]¶
- tests.system.providers.google.cloud.sql_to_sheets.example_sql_to_sheets.DELETE_FIREWALL_RULE_COMMAND[source]¶
- tests.system.providers.google.cloud.sql_to_sheets.example_sql_to_sheets.DELETE_PERSISTENT_DISK_COMMAND[source]¶
- tests.system.providers.google.cloud.sql_to_sheets.example_sql_to_sheets.SHEETS_CONNECTION_ID[source]¶