tests.system.providers.google.cloud.cloud_sql.example_cloud_sql_query_postgres
¶
Example Airflow DAG that performs query in a Cloud SQL instance for Postgres.
Module Contents¶
- tests.system.providers.google.cloud.cloud_sql.example_cloud_sql_query_postgres.DAG_ID = 'cloudsql-query-pg'[source]¶
- tests.system.providers.google.cloud.cloud_sql.example_cloud_sql_query_postgres.REGION = 'us-central1'[source]¶
- tests.system.providers.google.cloud.cloud_sql.example_cloud_sql_query_postgres.CLOUD_SQL_INSTANCE_NAME[source]¶
- tests.system.providers.google.cloud.cloud_sql.example_cloud_sql_query_postgres.CLOUD_SQL_DATABASE_NAME = 'test_db'[source]¶
- tests.system.providers.google.cloud.cloud_sql.example_cloud_sql_query_postgres.CLOUD_SQL_USER = 'test_user'[source]¶
- tests.system.providers.google.cloud.cloud_sql.example_cloud_sql_query_postgres.CLOUD_SQL_PASSWORD = 'JoxHlwrPzwch0gz9'[source]¶
- tests.system.providers.google.cloud.cloud_sql.example_cloud_sql_query_postgres.CLOUD_SQL_PUBLIC_IP = '127.0.0.1'[source]¶
- tests.system.providers.google.cloud.cloud_sql.example_cloud_sql_query_postgres.CLOUD_SQL_PUBLIC_PORT = 5432[source]¶
- tests.system.providers.google.cloud.cloud_sql.example_cloud_sql_query_postgres.CLOUD_SQL_DATABASE_CREATE_BODY[source]¶
- tests.system.providers.google.cloud.cloud_sql.example_cloud_sql_query_postgres.CLOUD_SQL_INSTANCE_CREATION_BODY[source]¶
- tests.system.providers.google.cloud.cloud_sql.example_cloud_sql_query_postgres.SQL = ['CREATE TABLE IF NOT EXISTS TABLE_TEST (I INTEGER)', 'CREATE TABLE IF NOT EXISTS TABLE_TEST (I...[source]¶
- tests.system.providers.google.cloud.cloud_sql.example_cloud_sql_query_postgres.CONNECTION_PROXY_TCP_KWARGS[source]¶
- tests.system.providers.google.cloud.cloud_sql.example_cloud_sql_query_postgres.CONNECTION_PROXY_SOCKET_KWARGS[source]¶
- tests.system.providers.google.cloud.cloud_sql.example_cloud_sql_query_postgres.CONNECTION_PUBLIC_TCP_KWARGS[source]¶
- tests.system.providers.google.cloud.cloud_sql.example_cloud_sql_query_postgres.CONNECTION_PROXY_TCP_ID[source]¶
- tests.system.providers.google.cloud.cloud_sql.example_cloud_sql_query_postgres.CONNECTION_PUBLIC_TCP_ID[source]¶
- tests.system.providers.google.cloud.cloud_sql.example_cloud_sql_query_postgres.CONNECTION_PROXY_SOCKET_ID[source]¶
- tests.system.providers.google.cloud.cloud_sql.example_cloud_sql_query_postgres.ConnectionConfig[source]¶