apache-airflow-providers-google 10.20.0rc1__py3-none-any.whl → 10.21.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. airflow/providers/google/__init__.py +1 -1
  2. airflow/providers/google/ads/hooks/ads.py +16 -8
  3. airflow/providers/google/ads/transfers/ads_to_gcs.py +2 -1
  4. airflow/providers/google/cloud/_internal_client/secret_manager_client.py +6 -3
  5. airflow/providers/google/cloud/hooks/bigquery.py +158 -79
  6. airflow/providers/google/cloud/hooks/cloud_sql.py +12 -6
  7. airflow/providers/google/cloud/hooks/cloud_storage_transfer_service.py +34 -17
  8. airflow/providers/google/cloud/hooks/dataflow.py +30 -26
  9. airflow/providers/google/cloud/hooks/dataform.py +2 -1
  10. airflow/providers/google/cloud/hooks/datafusion.py +4 -2
  11. airflow/providers/google/cloud/hooks/dataproc.py +102 -51
  12. airflow/providers/google/cloud/hooks/functions.py +20 -10
  13. airflow/providers/google/cloud/hooks/kubernetes_engine.py +22 -11
  14. airflow/providers/google/cloud/hooks/os_login.py +2 -1
  15. airflow/providers/google/cloud/hooks/secret_manager.py +18 -9
  16. airflow/providers/google/cloud/hooks/translate.py +2 -1
  17. airflow/providers/google/cloud/hooks/vertex_ai/batch_prediction_job.py +2 -1
  18. airflow/providers/google/cloud/hooks/vertex_ai/generative_model.py +141 -0
  19. airflow/providers/google/cloud/hooks/vertex_ai/pipeline_job.py +2 -1
  20. airflow/providers/google/cloud/links/base.py +2 -1
  21. airflow/providers/google/cloud/links/datafusion.py +2 -1
  22. airflow/providers/google/cloud/log/stackdriver_task_handler.py +4 -2
  23. airflow/providers/google/cloud/openlineage/mixins.py +10 -0
  24. airflow/providers/google/cloud/openlineage/utils.py +4 -2
  25. airflow/providers/google/cloud/operators/bigquery.py +55 -21
  26. airflow/providers/google/cloud/operators/cloud_batch.py +3 -1
  27. airflow/providers/google/cloud/operators/cloud_sql.py +22 -11
  28. airflow/providers/google/cloud/operators/dataform.py +2 -1
  29. airflow/providers/google/cloud/operators/dataproc.py +75 -34
  30. airflow/providers/google/cloud/operators/dataproc_metastore.py +24 -12
  31. airflow/providers/google/cloud/operators/gcs.py +2 -1
  32. airflow/providers/google/cloud/operators/pubsub.py +10 -5
  33. airflow/providers/google/cloud/operators/vertex_ai/auto_ml.py +3 -3
  34. airflow/providers/google/cloud/operators/vertex_ai/custom_job.py +12 -9
  35. airflow/providers/google/cloud/operators/vertex_ai/generative_model.py +243 -0
  36. airflow/providers/google/cloud/operators/vertex_ai/pipeline_job.py +2 -1
  37. airflow/providers/google/cloud/operators/vision.py +36 -18
  38. airflow/providers/google/cloud/sensors/gcs.py +11 -2
  39. airflow/providers/google/cloud/sensors/pubsub.py +2 -1
  40. airflow/providers/google/cloud/transfers/bigquery_to_gcs.py +21 -12
  41. airflow/providers/google/cloud/transfers/bigquery_to_postgres.py +1 -1
  42. airflow/providers/google/cloud/transfers/facebook_ads_to_gcs.py +2 -1
  43. airflow/providers/google/cloud/transfers/gcs_to_bigquery.py +17 -5
  44. airflow/providers/google/cloud/transfers/gcs_to_gcs.py +12 -6
  45. airflow/providers/google/cloud/transfers/local_to_gcs.py +5 -1
  46. airflow/providers/google/cloud/transfers/mysql_to_gcs.py +2 -1
  47. airflow/providers/google/cloud/transfers/oracle_to_gcs.py +2 -1
  48. airflow/providers/google/cloud/transfers/presto_to_gcs.py +2 -1
  49. airflow/providers/google/cloud/transfers/s3_to_gcs.py +2 -1
  50. airflow/providers/google/cloud/transfers/trino_to_gcs.py +2 -1
  51. airflow/providers/google/cloud/triggers/cloud_batch.py +2 -1
  52. airflow/providers/google/cloud/triggers/cloud_run.py +2 -1
  53. airflow/providers/google/cloud/triggers/dataflow.py +2 -1
  54. airflow/providers/google/cloud/triggers/vertex_ai.py +2 -1
  55. airflow/providers/google/cloud/utils/external_token_supplier.py +4 -2
  56. airflow/providers/google/cloud/utils/field_sanitizer.py +4 -2
  57. airflow/providers/google/cloud/utils/field_validator.py +6 -3
  58. airflow/providers/google/cloud/utils/helpers.py +2 -1
  59. airflow/providers/google/common/hooks/base_google.py +2 -1
  60. airflow/providers/google/common/utils/id_token_credentials.py +2 -1
  61. airflow/providers/google/get_provider_info.py +3 -2
  62. airflow/providers/google/go_module_utils.py +4 -2
  63. airflow/providers/google/marketing_platform/hooks/analytics_admin.py +12 -6
  64. airflow/providers/google/marketing_platform/links/analytics_admin.py +2 -1
  65. airflow/providers/google/suite/transfers/local_to_drive.py +2 -1
  66. {apache_airflow_providers_google-10.20.0rc1.dist-info → apache_airflow_providers_google-10.21.0.dist-info}/METADATA +14 -14
  67. {apache_airflow_providers_google-10.20.0rc1.dist-info → apache_airflow_providers_google-10.21.0.dist-info}/RECORD +69 -69
  68. {apache_airflow_providers_google-10.20.0rc1.dist-info → apache_airflow_providers_google-10.21.0.dist-info}/WHEEL +0 -0
  69. {apache_airflow_providers_google-10.20.0rc1.dist-info → apache_airflow_providers_google-10.21.0.dist-info}/entry_points.txt +0 -0
@@ -167,7 +167,8 @@ class _BigQueryOperatorsEncryptionConfigurationMixin:
167
167
  class BigQueryCheckOperator(
168
168
  _BigQueryDbHookMixin, SQLCheckOperator, _BigQueryOperatorsEncryptionConfigurationMixin
169
169
  ):
170
- """Performs checks against BigQuery.
170
+ """
171
+ Performs checks against BigQuery.
171
172
 
172
173
  This operator expects a SQL query that returns a single row. Each value on
173
174
  that row is evaluated using a Python ``bool`` cast. If any of the values
@@ -221,6 +222,12 @@ class BigQueryCheckOperator(
221
222
  :param deferrable: Run operator in the deferrable mode.
222
223
  :param poll_interval: (Deferrable mode only) polling period in seconds to
223
224
  check for the status of job.
225
+ :param query_params: a list of dictionary containing query parameter types and
226
+ values, passed to BigQuery. The structure of dictionary should look like
227
+ 'queryParameters' in Google BigQuery Jobs API:
228
+ https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs.
229
+ For example, [{ 'name': 'corpus', 'parameterType': { 'type': 'STRING' },
230
+ 'parameterValue': { 'value': 'romeoandjuliet' } }]. (templated)
224
231
  """
225
232
 
226
233
  template_fields: Sequence[str] = (
@@ -228,6 +235,7 @@ class BigQueryCheckOperator(
228
235
  "gcp_conn_id",
229
236
  "impersonation_chain",
230
237
  "labels",
238
+ "query_params",
231
239
  )
232
240
  template_ext: Sequence[str] = (".sql",)
233
241
  ui_color = BigQueryUIColors.CHECK.value
@@ -245,6 +253,7 @@ class BigQueryCheckOperator(
245
253
  encryption_configuration: dict | None = None,
246
254
  deferrable: bool = conf.getboolean("operators", "default_deferrable", fallback=False),
247
255
  poll_interval: float = 4.0,
256
+ query_params: list | None = None,
248
257
  **kwargs,
249
258
  ) -> None:
250
259
  super().__init__(sql=sql, **kwargs)
@@ -256,6 +265,7 @@ class BigQueryCheckOperator(
256
265
  self.encryption_configuration = encryption_configuration
257
266
  self.deferrable = deferrable
258
267
  self.poll_interval = poll_interval
268
+ self.query_params = query_params
259
269
 
260
270
  def _submit_job(
261
271
  self,
@@ -264,6 +274,8 @@ class BigQueryCheckOperator(
264
274
  ) -> BigQueryJob:
265
275
  """Submit a new job and get the job id for polling the status using Trigger."""
266
276
  configuration = {"query": {"query": self.sql, "useLegacySql": self.use_legacy_sql}}
277
+ if self.query_params:
278
+ configuration["query"]["queryParameters"] = self.query_params
267
279
 
268
280
  self.include_encryption_configuration(configuration, "query")
269
281
 
@@ -319,7 +331,8 @@ class BigQueryCheckOperator(
319
331
  )
320
332
 
321
333
  def execute_complete(self, context: Context, event: dict[str, Any]) -> None:
322
- """Act as a callback for when the trigger fires.
334
+ """
335
+ Act as a callback for when the trigger fires.
323
336
 
324
337
  This returns immediately. It relies on trigger to throw an exception,
325
338
  otherwise it assumes execution was successful.
@@ -335,7 +348,8 @@ class BigQueryCheckOperator(
335
348
  class BigQueryValueCheckOperator(
336
349
  _BigQueryDbHookMixin, SQLValueCheckOperator, _BigQueryOperatorsEncryptionConfigurationMixin
337
350
  ):
338
- """Perform a simple value check using sql code.
351
+ """
352
+ Perform a simple value check using sql code.
339
353
 
340
354
  .. seealso::
341
355
  For more information on how to use this operator, take a look at the guide:
@@ -465,7 +479,8 @@ class BigQueryValueCheckOperator(
465
479
  raise AirflowException(f"BigQuery job {job.job_id} failed: {job.error_result}")
466
480
 
467
481
  def execute_complete(self, context: Context, event: dict[str, Any]) -> None:
468
- """Act as a callback for when the trigger fires.
482
+ """
483
+ Act as a callback for when the trigger fires.
469
484
 
470
485
  This returns immediately. It relies on trigger to throw an exception,
471
486
  otherwise it assumes execution was successful.
@@ -625,7 +640,8 @@ class BigQueryIntervalCheckOperator(
625
640
  )
626
641
 
627
642
  def execute_complete(self, context: Context, event: dict[str, Any]) -> None:
628
- """Act as a callback for when the trigger fires.
643
+ """
644
+ Act as a callback for when the trigger fires.
629
645
 
630
646
  This returns immediately. It relies on trigger to throw an exception,
631
647
  otherwise it assumes execution was successful.
@@ -1173,7 +1189,8 @@ class BigQueryGetDataOperator(GoogleCloudBaseOperator, _BigQueryOperatorsEncrypt
1173
1189
  )
1174
1190
 
1175
1191
  def execute_complete(self, context: Context, event: dict[str, Any]) -> Any:
1176
- """Act as a callback for when the trigger fires.
1192
+ """
1193
+ Act as a callback for when the trigger fires.
1177
1194
 
1178
1195
  This returns immediately. It relies on trigger to throw an exception,
1179
1196
  otherwise it assumes execution was successful.
@@ -1190,7 +1207,8 @@ class BigQueryGetDataOperator(GoogleCloudBaseOperator, _BigQueryOperatorsEncrypt
1190
1207
  category=AirflowProviderDeprecationWarning,
1191
1208
  )
1192
1209
  class BigQueryExecuteQueryOperator(GoogleCloudBaseOperator):
1193
- """Executes BigQuery SQL queries in a specific BigQuery database.
1210
+ """
1211
+ Executes BigQuery SQL queries in a specific BigQuery database.
1194
1212
 
1195
1213
  This operator is deprecated. Please use
1196
1214
  :class:`airflow.providers.google.cloud.operators.bigquery.BigQueryInsertJobOperator`
@@ -1409,7 +1427,8 @@ class BigQueryExecuteQueryOperator(GoogleCloudBaseOperator):
1409
1427
 
1410
1428
 
1411
1429
  class BigQueryCreateEmptyTableOperator(GoogleCloudBaseOperator):
1412
- """Creates a new table in the specified BigQuery dataset, optionally with schema.
1430
+ """
1431
+ Creates a new table in the specified BigQuery dataset, optionally with schema.
1413
1432
 
1414
1433
  The schema to be used for the BigQuery table may be specified in one of
1415
1434
  two ways. You may either directly pass the schema fields in, or you may
@@ -1658,7 +1677,8 @@ class BigQueryCreateEmptyTableOperator(GoogleCloudBaseOperator):
1658
1677
 
1659
1678
 
1660
1679
  class BigQueryCreateExternalTableOperator(GoogleCloudBaseOperator):
1661
- """Create a new external table with data from Google Cloud Storage.
1680
+ """
1681
+ Create a new external table with data from Google Cloud Storage.
1662
1682
 
1663
1683
  The schema to be used for the BigQuery table may be specified in one of
1664
1684
  two ways. You may either directly pass the schema fields in, or you may
@@ -1953,7 +1973,8 @@ class BigQueryCreateExternalTableOperator(GoogleCloudBaseOperator):
1953
1973
 
1954
1974
 
1955
1975
  class BigQueryDeleteDatasetOperator(GoogleCloudBaseOperator):
1956
- """Delete an existing dataset from your Project in BigQuery.
1976
+ """
1977
+ Delete an existing dataset from your Project in BigQuery.
1957
1978
 
1958
1979
  https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets/delete
1959
1980
 
@@ -2028,7 +2049,8 @@ class BigQueryDeleteDatasetOperator(GoogleCloudBaseOperator):
2028
2049
 
2029
2050
 
2030
2051
  class BigQueryCreateEmptyDatasetOperator(GoogleCloudBaseOperator):
2031
- """Create a new dataset for your Project in BigQuery.
2052
+ """
2053
+ Create a new dataset for your Project in BigQuery.
2032
2054
 
2033
2055
  https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets#resource
2034
2056
 
@@ -2151,7 +2173,8 @@ class BigQueryCreateEmptyDatasetOperator(GoogleCloudBaseOperator):
2151
2173
 
2152
2174
 
2153
2175
  class BigQueryGetDatasetOperator(GoogleCloudBaseOperator):
2154
- """Get the dataset specified by ID.
2176
+ """
2177
+ Get the dataset specified by ID.
2155
2178
 
2156
2179
  .. seealso::
2157
2180
  For more information on how to use this operator, take a look at the guide:
@@ -2215,7 +2238,8 @@ class BigQueryGetDatasetOperator(GoogleCloudBaseOperator):
2215
2238
 
2216
2239
 
2217
2240
  class BigQueryGetDatasetTablesOperator(GoogleCloudBaseOperator):
2218
- """Retrieve the list of tables in the specified dataset.
2241
+ """
2242
+ Retrieve the list of tables in the specified dataset.
2219
2243
 
2220
2244
  .. seealso::
2221
2245
  For more information on how to use this operator, take a look at the guide:
@@ -2278,7 +2302,8 @@ class BigQueryGetDatasetTablesOperator(GoogleCloudBaseOperator):
2278
2302
  category=AirflowProviderDeprecationWarning,
2279
2303
  )
2280
2304
  class BigQueryPatchDatasetOperator(GoogleCloudBaseOperator):
2281
- """Patch a dataset for your Project in BigQuery.
2305
+ """
2306
+ Patch a dataset for your Project in BigQuery.
2282
2307
 
2283
2308
  This operator is deprecated. Please use
2284
2309
  :class:`airflow.providers.google.cloud.operators.bigquery.BigQueryUpdateTableOperator`
@@ -2342,7 +2367,8 @@ class BigQueryPatchDatasetOperator(GoogleCloudBaseOperator):
2342
2367
 
2343
2368
 
2344
2369
  class BigQueryUpdateTableOperator(GoogleCloudBaseOperator):
2345
- """Update a table for your Project in BigQuery.
2370
+ """
2371
+ Update a table for your Project in BigQuery.
2346
2372
 
2347
2373
  Use ``fields`` to specify which fields of table to update. If a field
2348
2374
  is listed in ``fields`` and is ``None`` in table, it will be deleted.
@@ -2429,7 +2455,8 @@ class BigQueryUpdateTableOperator(GoogleCloudBaseOperator):
2429
2455
 
2430
2456
 
2431
2457
  class BigQueryUpdateDatasetOperator(GoogleCloudBaseOperator):
2432
- """Update a dataset for your Project in BigQuery.
2458
+ """
2459
+ Update a dataset for your Project in BigQuery.
2433
2460
 
2434
2461
  Use ``fields`` to specify which fields of dataset to update. If a field
2435
2462
  is listed in ``fields`` and is ``None`` in dataset, it will be deleted.
@@ -2511,7 +2538,8 @@ class BigQueryUpdateDatasetOperator(GoogleCloudBaseOperator):
2511
2538
 
2512
2539
 
2513
2540
  class BigQueryDeleteTableOperator(GoogleCloudBaseOperator):
2514
- """Delete a BigQuery table.
2541
+ """
2542
+ Delete a BigQuery table.
2515
2543
 
2516
2544
  .. seealso::
2517
2545
  For more information on how to use this operator, take a look at the guide:
@@ -2569,7 +2597,8 @@ class BigQueryDeleteTableOperator(GoogleCloudBaseOperator):
2569
2597
 
2570
2598
 
2571
2599
  class BigQueryUpsertTableOperator(GoogleCloudBaseOperator):
2572
- """Upsert to a BigQuery table.
2600
+ """
2601
+ Upsert to a BigQuery table.
2573
2602
 
2574
2603
  .. seealso::
2575
2604
  For more information on how to use this operator, take a look at the guide:
@@ -2646,7 +2675,8 @@ class BigQueryUpsertTableOperator(GoogleCloudBaseOperator):
2646
2675
 
2647
2676
 
2648
2677
  class BigQueryUpdateTableSchemaOperator(GoogleCloudBaseOperator):
2649
- """Update BigQuery Table Schema.
2678
+ """
2679
+ Update BigQuery Table Schema.
2650
2680
 
2651
2681
  Updates fields on a table schema based on contents of the supplied schema_fields_updates
2652
2682
  parameter. The supplied schema does not need to be complete, if the field
@@ -2756,7 +2786,8 @@ class BigQueryUpdateTableSchemaOperator(GoogleCloudBaseOperator):
2756
2786
 
2757
2787
 
2758
2788
  class BigQueryInsertJobOperator(GoogleCloudBaseOperator, _BigQueryOpenLineageMixin):
2759
- """Execute a BigQuery job.
2789
+ """
2790
+ Execute a BigQuery job.
2760
2791
 
2761
2792
  Waits for the job to complete and returns job id.
2762
2793
  This operator work in the following way:
@@ -3005,7 +3036,8 @@ class BigQueryInsertJobOperator(GoogleCloudBaseOperator, _BigQueryOpenLineageMix
3005
3036
  self._handle_job_error(job)
3006
3037
 
3007
3038
  def execute_complete(self, context: Context, event: dict[str, Any]) -> str | None:
3008
- """Act as a callback for when the trigger fires.
3039
+ """
3040
+ Act as a callback for when the trigger fires.
3009
3041
 
3010
3042
  This returns immediately. It relies on trigger to throw an exception,
3011
3043
  otherwise it assumes execution was successful.
@@ -3017,6 +3049,8 @@ class BigQueryInsertJobOperator(GoogleCloudBaseOperator, _BigQueryOpenLineageMix
3017
3049
  self.task_id,
3018
3050
  event["message"],
3019
3051
  )
3052
+ # Save job_id as an attribute to be later used by listeners
3053
+ self.job_id = event.get("job_id")
3020
3054
  return self.job_id
3021
3055
 
3022
3056
  def on_kill(self) -> None:
@@ -86,7 +86,9 @@ class CloudBatchSubmitJobOperator(GoogleCloudBaseOperator):
86
86
 
87
87
  def execute(self, context: Context):
88
88
  hook: CloudBatchHook = CloudBatchHook(self.gcp_conn_id, self.impersonation_chain)
89
- job = hook.submit_batch_job(job_name=self.job_name, job=self.job, region=self.region)
89
+ job = hook.submit_batch_job(
90
+ job_name=self.job_name, job=self.job, region=self.region, project_id=self.project_id
91
+ )
90
92
 
91
93
  if not self.deferrable:
92
94
  completed_job = hook.wait_for_job(
@@ -224,7 +224,8 @@ CLOUD_SQL_DATABASE_PATCH_VALIDATION = [
224
224
 
225
225
 
226
226
  class CloudSQLBaseOperator(GoogleCloudBaseOperator):
227
- """Abstract base operator for Google Cloud SQL operators.
227
+ """
228
+ Abstract base operator for Google Cloud SQL operators.
228
229
 
229
230
  :param instance: Cloud SQL instance ID. This does not include the project ID.
230
231
  :param project_id: Optional, Google Cloud Project ID. f set to None or missing,
@@ -292,7 +293,8 @@ class CloudSQLBaseOperator(GoogleCloudBaseOperator):
292
293
 
293
294
 
294
295
  class CloudSQLCreateInstanceOperator(CloudSQLBaseOperator):
295
- """Create a new Cloud SQL instance.
296
+ """
297
+ Create a new Cloud SQL instance.
296
298
 
297
299
  If an instance with the same name exists, no action will be taken and
298
300
  the operator will succeed.
@@ -393,7 +395,8 @@ class CloudSQLCreateInstanceOperator(CloudSQLBaseOperator):
393
395
 
394
396
 
395
397
  class CloudSQLInstancePatchOperator(CloudSQLBaseOperator):
396
- """Update settings of a Cloud SQL instance.
398
+ """
399
+ Update settings of a Cloud SQL instance.
397
400
 
398
401
  Caution: This is a partial update, so only included values for the settings will be
399
402
  updated.
@@ -485,7 +488,8 @@ class CloudSQLInstancePatchOperator(CloudSQLBaseOperator):
485
488
 
486
489
 
487
490
  class CloudSQLDeleteInstanceOperator(CloudSQLBaseOperator):
488
- """Delete a Cloud SQL instance.
491
+ """
492
+ Delete a Cloud SQL instance.
489
493
 
490
494
  .. seealso::
491
495
  For more information on how to use this operator, take a look at the guide:
@@ -531,7 +535,8 @@ class CloudSQLDeleteInstanceOperator(CloudSQLBaseOperator):
531
535
 
532
536
 
533
537
  class CloudSQLCloneInstanceOperator(CloudSQLBaseOperator):
534
- """Clone an instance to a target instance.
538
+ """
539
+ Clone an instance to a target instance.
535
540
 
536
541
  .. seealso::
537
542
  For more information on how to use this operator, take a look at the guide:
@@ -622,7 +627,8 @@ class CloudSQLCloneInstanceOperator(CloudSQLBaseOperator):
622
627
 
623
628
 
624
629
  class CloudSQLCreateInstanceDatabaseOperator(CloudSQLBaseOperator):
625
- """Create a new database inside a Cloud SQL instance.
630
+ """
631
+ Create a new database inside a Cloud SQL instance.
626
632
 
627
633
  .. seealso::
628
634
  For more information on how to use this operator, take a look at the guide:
@@ -726,7 +732,8 @@ class CloudSQLCreateInstanceDatabaseOperator(CloudSQLBaseOperator):
726
732
 
727
733
 
728
734
  class CloudSQLPatchInstanceDatabaseOperator(CloudSQLBaseOperator):
729
- """Update resource containing information about a database using patch semantics.
735
+ """
736
+ Update resource containing information about a database using patch semantics.
730
737
 
731
738
  See: https://cloud.google.com/sql/docs/mysql/admin-api/how-tos/performance#patch
732
739
 
@@ -829,7 +836,8 @@ class CloudSQLPatchInstanceDatabaseOperator(CloudSQLBaseOperator):
829
836
 
830
837
 
831
838
  class CloudSQLDeleteInstanceDatabaseOperator(CloudSQLBaseOperator):
832
- """Delete a database from a Cloud SQL instance.
839
+ """
840
+ Delete a database from a Cloud SQL instance.
833
841
 
834
842
  .. seealso::
835
843
  For more information on how to use this operator, take a look at the guide:
@@ -908,7 +916,8 @@ class CloudSQLDeleteInstanceDatabaseOperator(CloudSQLBaseOperator):
908
916
 
909
917
 
910
918
  class CloudSQLExportInstanceOperator(CloudSQLBaseOperator):
911
- """Export data from a Cloud SQL instance to a Cloud Storage bucket.
919
+ """
920
+ Export data from a Cloud SQL instance to a Cloud Storage bucket.
912
921
 
913
922
  The exported format can be a SQL dump or CSV file.
914
923
 
@@ -1045,7 +1054,8 @@ class CloudSQLExportInstanceOperator(CloudSQLBaseOperator):
1045
1054
 
1046
1055
 
1047
1056
  class CloudSQLImportInstanceOperator(CloudSQLBaseOperator):
1048
- """Import data into a Cloud SQL instance from Cloud Storage.
1057
+ """
1058
+ Import data into a Cloud SQL instance from Cloud Storage.
1049
1059
 
1050
1060
  CSV IMPORT
1051
1061
  ``````````
@@ -1157,7 +1167,8 @@ class CloudSQLImportInstanceOperator(CloudSQLBaseOperator):
1157
1167
 
1158
1168
 
1159
1169
  class CloudSQLExecuteQueryOperator(GoogleCloudBaseOperator):
1160
- """Perform DML or DDL query on an existing Cloud Sql instance.
1170
+ """
1171
+ Perform DML or DDL query on an existing Cloud Sql instance.
1161
1172
 
1162
1173
  It optionally uses cloud-sql-proxy to establish secure connection with the
1163
1174
  database.
@@ -1143,7 +1143,8 @@ class DataformRemoveDirectoryOperator(GoogleCloudBaseOperator):
1143
1143
 
1144
1144
 
1145
1145
  class DataformInstallNpmPackagesOperator(GoogleCloudBaseOperator):
1146
- """Install NPM dependencies in the provided workspace.
1146
+ """
1147
+ Install NPM dependencies in the provided workspace.
1147
1148
 
1148
1149
  Requires "package.json" to be created in the workspace.
1149
1150