id
int64
0
328k
repository_name
stringlengths
7
58
file_path
stringlengths
9
302
class_name
stringlengths
5
256
human_written_code
stringlengths
16
2.16M
class_skeleton
stringlengths
18
1.49M
⌀
total_program_units
int64
1
1.76k
total_doc_str
int64
0
771
AvgCountLine
float64
0
7.89k
AvgCountLineBlank
float64
0
297
AvgCountLineCode
float64
0
7.89k
AvgCountLineComment
float64
0
7.89k
AvgCyclomatic
float64
0
130
CommentToCodeRatio
float64
0
168
CountClassBase
float64
0
40
CountClassCoupled
float64
0
583
CountClassCoupledModified
float64
0
575
CountClassDerived
float64
0
5.35k
CountDeclInstanceMethod
float64
0
529
CountDeclInstanceVariable
float64
0
296
CountDeclMethod
float64
0
599
CountDeclMethodAll
float64
0
1.12k
CountLine
float64
1
40.4k
CountLineBlank
float64
0
8.16k
CountLineCode
float64
1
25.7k
CountLineCodeDecl
float64
1
8.15k
CountLineCodeExe
float64
0
24.2k
CountLineComment
float64
0
16.5k
CountStmt
float64
1
9.71k
CountStmtDecl
float64
1
8.15k
CountStmtExe
float64
0
9.69k
MaxCyclomatic
float64
0
759
MaxInheritanceTree
float64
0
16
MaxNesting
float64
0
34
SumCyclomatic
float64
0
2.9k
8,200
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/bigquery.py
google.cloud.operators.bigquery.BigQueryDeleteTableOperator
from collections.abc import Sequence from google.cloud.bigquery.table import RowIterator, Table, TableListItem, TableReference from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from airflow.providers.google.cloud.hooks.bigquery import BigQueryHook, BigQueryJob class BigQueryDelete...
class BigQueryDeleteTableOperator(GoogleCloudBaseOperator): ''' Delete a BigQuery table. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:BigQueryDeleteTableOperator` :param deletion_dataset_table: A dotted ``(<project...
4
2
19
1
17
1
1
0.4
1
6
2
0
3
6
3
4
89
9
57
31
36
23
22
17
15
1
2
0
3
8,201
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/bigquery.py
google.cloud.operators.bigquery.BigQueryGetDataOperator
from airflow.providers.google.cloud.hooks.bigquery import BigQueryHook, BigQueryJob from airflow.exceptions import AirflowException, AirflowProviderDeprecationWarning, AirflowSkipException from airflow.configuration import conf from typing import TYPE_CHECKING, Any, SupportsAbs from google.cloud.bigquery import DEFAULT...
class BigQueryGetDataOperator(GoogleCloudBaseOperator, _BigQueryOperatorsEncryptionConfigurationMixin): ''' Fetch data and return it, either from a BigQuery table, or results of a query job. Data could be narrowed down by specific columns or retrieved as a whole. It is returned in either of the followi...
6
3
36
2
32
1
4
0.48
2
13
3
0
5
17
5
7
291
32
175
57
145
84
69
32
63
12
2
4
18
8,202
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/bigquery.py
google.cloud.operators.bigquery.BigQueryGetDatasetOperator
from airflow.providers.google.cloud.links.bigquery import BigQueryDatasetLink, BigQueryJobDetailLink, BigQueryTableLink from collections.abc import Sequence from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOpe...
class BigQueryGetDatasetOperator(GoogleCloudBaseOperator): ''' Get the dataset specified by ID. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:BigQueryGetDatasetOperator` :param dataset_id: The id of dataset. Don't need to p...
3
1
16
1
15
0
1
0.51
1
5
2
0
2
4
2
3
63
7
37
21
26
19
17
13
14
1
2
0
2
8,203
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/bigquery.py
google.cloud.operators.bigquery.BigQueryGetDatasetTablesOperator
from collections.abc import Sequence from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from airflow.providers.google.cloud.hooks.bigquery import BigQueryHook, BigQueryJob class BigQueryGetDatasetTable...
class BigQueryGetDatasetTablesOperator(GoogleCloudBaseOperator): ''' Retrieve the list of tables in the specified dataset. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:BigQueryGetDatasetTablesOperator` :param dataset_id: t...
3
1
14
1
13
0
1
0.58
1
5
1
0
2
5
2
3
58
6
33
20
21
19
13
11
10
1
2
0
2
8,204
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/bigquery.py
google.cloud.operators.bigquery.BigQueryInsertJobOperator
from google.cloud.bigquery import DEFAULT_RETRY, CopyJob, ExtractJob, LoadJob, QueryJob, Row from functools import cached_property from airflow.providers.google.cloud.triggers.bigquery import BigQueryCheckTrigger, BigQueryGetDataTrigger, BigQueryInsertJobTrigger, BigQueryIntervalCheckTrigger, BigQueryValueCheckTrigger ...
class BigQueryInsertJobOperator(GoogleCloudBaseOperator, _BigQueryInsertJobOperatorOpenLineageMixin): ''' Execute a BigQuery job. Waits for the job to complete and returns job id. This operator work in the following way: - it calculates a unique hash of the job using job's configuration or uuid if ...
11
2
25
2
21
2
4
0.31
2
15
5
0
9
17
9
33
299
33
204
67
173
64
107
42
97
15
2
6
33
8,205
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/bigquery.py
google.cloud.operators.bigquery.BigQueryIntervalCheckOperator
from airflow.providers.google.cloud.hooks.bigquery import BigQueryHook, BigQueryJob from airflow.exceptions import AirflowException, AirflowProviderDeprecationWarning, AirflowSkipException from airflow.providers.common.sql.operators.sql import SQLCheckOperator, SQLColumnCheckOperator, SQLIntervalCheckOperator, SQLTable...
class BigQueryIntervalCheckOperator(_BigQueryDbHookMixin, SQLIntervalCheckOperator, _BigQueryOperatorsEncryptionConfigurationMixin): ''' Check that the values of metrics given as SQL expressions are within a tolerance of the older ones. This method constructs a query like so :: SELECT {metrics_thre...
5
3
24
1
22
2
2
0.44
3
12
3
0
4
18
4
13
159
15
100
52
71
44
34
21
29
2
3
1
6
8,206
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/bigquery.py
google.cloud.operators.bigquery.BigQueryTableCheckOperator
from airflow.providers.google.cloud.hooks.bigquery import BigQueryHook, BigQueryJob from airflow.exceptions import AirflowException, AirflowProviderDeprecationWarning, AirflowSkipException from airflow.providers.common.sql.operators.sql import SQLCheckOperator, SQLColumnCheckOperator, SQLIntervalCheckOperator, SQLTable...
class BigQueryTableCheckOperator(_BigQueryDbHookMixin, SQLTableCheckOperator, _BigQueryOperatorsEncryptionConfigurationMixin): ''' Subclasses the SQLTableCheckOperator in order to provide a job id for OpenLineage to parse. See base class for usage. .. seealso:: For more information on how to us...
4
3
23
2
20
1
2
0.49
3
7
2
0
3
6
3
13
114
17
65
40
42
32
33
21
29
4
3
1
6
8,207
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/bigquery.py
google.cloud.operators.bigquery.BigQueryUIColors
import enum class BigQueryUIColors(enum.Enum): """Hex colors for BigQuery operators.""" CHECK = '#C0D7FF' QUERY = '#A1BBFF' TABLE = '#81A0FF' DATASET = '#5F86FF'
class BigQueryUIColors(enum.Enum): '''Hex colors for BigQuery operators.''' pass
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
49
7
1
5
5
4
5
5
5
4
0
4
0
0
8,208
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/bigquery.py
google.cloud.operators.bigquery.BigQueryUpdateDatasetOperator
from airflow.providers.google.cloud.hooks.bigquery import BigQueryHook, BigQueryJob from typing import TYPE_CHECKING, Any, SupportsAbs from airflow.providers.google.cloud.links.bigquery import BigQueryDatasetLink, BigQueryJobDetailLink, BigQueryTableLink from collections.abc import Sequence from airflow.providers.googl...
class BigQueryUpdateDatasetOperator(GoogleCloudBaseOperator): ''' Update a dataset for your Project in BigQuery. Use ``fields`` to specify which fields of dataset to update. If a field is listed in ``fields`` and is ``None`` in dataset, it will be deleted. If no ``fields`` are provided then all fie...
3
1
20
1
19
0
1
0.55
1
8
2
0
2
6
2
3
81
8
47
27
34
26
20
17
17
1
2
0
2
8,209
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/bigquery.py
google.cloud.operators.bigquery.BigQueryUpdateTableOperator
from collections.abc import Sequence from google.cloud.bigquery.table import RowIterator, Table, TableListItem, TableReference from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from airflow.providers.g...
class BigQueryUpdateTableOperator(GoogleCloudBaseOperator): ''' Update a table for your Project in BigQuery. Use ``fields`` to specify which fields of table to update. If a field is listed in ``fields`` and is ``None`` in table, it will be deleted. .. seealso:: For more information on how t...
4
2
21
2
19
1
1
0.44
1
9
3
0
3
8
3
4
107
12
66
36
45
29
28
22
21
2
2
1
4
8,210
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/bigquery.py
google.cloud.operators.bigquery.BigQueryUpdateTableSchemaOperator
from airflow.providers.google.cloud.hooks.bigquery import BigQueryHook, BigQueryJob from typing import TYPE_CHECKING, Any, SupportsAbs from airflow.providers.google.cloud.links.bigquery import BigQueryDatasetLink, BigQueryJobDetailLink, BigQueryTableLink from collections.abc import Sequence from google.cloud.bigquery.t...
class BigQueryUpdateTableSchemaOperator(GoogleCloudBaseOperator): ''' Update BigQuery Table Schema. Updates fields on a table schema based on contents of the supplied schema_fields_updates parameter. The supplied schema does not need to be complete, if the field already exists in the schema you onl...
4
2
21
1
19
1
1
0.71
1
10
3
0
3
9
3
4
129
13
68
38
46
48
29
23
22
2
2
1
4
8,211
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/bigquery.py
google.cloud.operators.bigquery.BigQueryUpsertTableOperator
from collections.abc import Sequence from google.cloud.bigquery.table import RowIterator, Table, TableListItem, TableReference from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from airflow.providers.g...
class BigQueryUpsertTableOperator(GoogleCloudBaseOperator): ''' Upsert to a BigQuery table. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:BigQueryUpsertTableOperator` :param dataset_id: A dotted ``(<project>.|<proje...
4
2
19
1
18
1
1
0.4
1
7
3
0
3
7
3
4
97
9
63
34
43
25
27
21
20
2
2
1
4
8,212
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/bigquery.py
google.cloud.operators.bigquery.BigQueryValueCheckOperator
from airflow.providers.google.cloud.hooks.bigquery import BigQueryHook, BigQueryJob from airflow.exceptions import AirflowException, AirflowProviderDeprecationWarning, AirflowSkipException from airflow.providers.common.sql.operators.sql import SQLCheckOperator, SQLColumnCheckOperator, SQLIntervalCheckOperator, SQLTable...
null
7
3
19
1
16
2
2
0.42
3
10
3
0
4
12
5
18
147
14
95
47
67
40
37
21
31
3
3
2
9
8,213
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/bigquery.py
google.cloud.operators.bigquery.IfExistAction
import enum class IfExistAction(enum.Enum): """Action to take if the resource exist.""" IGNORE = 'ignore' LOG = 'log' FAIL = 'fail' SKIP = 'skip'
class IfExistAction(enum.Enum): '''Action to take if the resource exist.''' pass
1
1
0
0
0
0
0
0.2
1
0
0
0
0
0
0
49
7
1
5
5
4
1
5
5
4
0
4
0
0
8,214
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/bigquery.py
google.cloud.operators.bigquery._BigQueryDbHookMixin
class _BigQueryDbHookMixin: def get_db_hook(self: BigQueryCheckOperator) -> _BigQueryHookWithFlexibleProjectId: """Get BigQuery DB Hook.""" hook = _BigQueryHookWithFlexibleProjectId(gcp_conn_id=self.gcp_conn_id, use_legacy_sql=self.use_legacy_sql, location=self.location, impersonation_chain=self.im...
class _BigQueryDbHookMixin: def get_db_hook(self: BigQueryCheckOperator) -> _BigQueryHookWithFlexibleProjectId: '''Get BigQuery DB Hook.''' pass
2
1
9
0
8
2
1
0.22
0
2
2
5
1
4
1
1
10
0
9
6
7
2
3
2
1
1
0
0
1
8,215
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/bigquery.py
google.cloud.operators.bigquery._BigQueryOperatorsEncryptionConfigurationMixin
class _BigQueryOperatorsEncryptionConfigurationMixin: """A class to handle the configuration for BigQueryHook.insert_job method.""" def include_encryption_configuration(self: BigQueryCheckOperator | BigQueryTableCheckOperator | BigQueryValueCheckOperator | BigQueryColumnCheckOperator | BigQueryGetDataOperator ...
class _BigQueryOperatorsEncryptionConfigurationMixin: '''A class to handle the configuration for BigQueryHook.insert_job method.''' def include_encryption_configuration(self: BigQueryCheckOperator | BigQueryTableCheckOperator | BigQueryValueCheckOperator | BigQueryColumnCheckOperator | BigQueryGetDataOperator ...
2
2
13
0
12
2
2
0.46
0
8
6
6
1
0
1
1
19
1
13
11
2
6
4
2
2
2
0
1
2
8,216
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/bigquery_dts.py
google.cloud.operators.bigquery_dts.BigQueryCreateDataTransferOperator
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault from airflow.providers.google.cloud.links.bigquery_dts import BigQueryDataTransferConfigLink from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from collections.abc import Sequence from airflow.providers.google.clou...
class BigQueryCreateDataTransferOperator(GoogleCloudBaseOperator): ''' Creates a new data transfer configuration. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:BigQueryCreateDataTransferOperator` :param transfer_config: Dat...
3
1
27
1
26
1
1
0.48
1
8
2
0
2
9
2
3
96
7
60
31
44
29
26
18
23
1
2
0
2
8,217
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/bigquery_dts.py
google.cloud.operators.bigquery_dts.BigQueryDataTransferServiceStartTransferRunsOperator
from airflow.providers.google.cloud.hooks.bigquery_dts import BiqQueryDataTransferServiceHook, get_object_id from functools import cached_property from google.cloud.bigquery_datatransfer_v1 import StartManualTransferRunsResponse, TransferConfig, TransferRun, TransferState from airflow.providers.google.cloud.operators.c...
class BigQueryDataTransferServiceStartTransferRunsOperator(GoogleCloudBaseOperator): ''' Start manual transfer runs to be executed now with schedule_time equal to current time. The transfer runs can be created for a time range where the run_time is between start_time (inclusive) and end_time (exclusive...
10
3
36
3
32
1
4
0.19
1
16
7
0
6
12
7
8
307
34
233
78
199
44
116
58
102
15
2
3
28
8,218
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/bigquery_dts.py
google.cloud.operators.bigquery_dts.BigQueryDeleteDataTransferConfigOperator
from collections.abc import Sequence from airflow.providers.google.cloud.hooks.bigquery_dts import BiqQueryDataTransferServiceHook, get_object_id from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault from airflow.provi...
class BigQueryDeleteDataTransferConfigOperator(GoogleCloudBaseOperator): ''' Deletes transfer configuration. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:BigQueryDeleteDataTransferConfigOperator` :param transfer_config_id:...
3
1
17
0
17
0
1
0.63
1
6
1
0
2
8
2
3
70
5
40
25
25
25
15
13
12
1
2
0
2
8,219
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/bigtable.py
google.cloud.operators.bigtable.BigtableCreateInstanceOperator
from typing import TYPE_CHECKING, Any from airflow.providers.google.cloud.links.bigtable import BigtableClusterLink, BigtableInstanceLink, BigtableTablesLink from collections.abc import Iterable, Sequence from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID from airflow.providers.google.clou...
class BigtableCreateInstanceOperator(GoogleCloudBaseOperator, BigtableValidationMixin): ''' Creates a new Cloud Bigtable instance. If the Cloud Bigtable instance with the given ID exists, the operator does not compare its configuration and immediately succeeds. No changes are made to the existing i...
5
1
33
0
32
1
2
0.54
2
9
2
0
2
13
2
4
121
7
74
39
54
40
33
21
30
3
2
1
4
8,220
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/bigtable.py
google.cloud.operators.bigtable.BigtableCreateTableOperator
from typing import TYPE_CHECKING, Any from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from airflow.exceptions import AirflowException from airflow.providers.google.cloud.hooks.bigtable import BigtableHook from collections.abc import Iterable, Sequence from airflow.providers.googl...
class BigtableCreateTableOperator(GoogleCloudBaseOperator, BigtableValidationMixin): ''' Creates the table in the Cloud Bigtable instance. For more details about creating table have a look at the reference: https://googleapis.github.io/google-cloud-python/latest/bigtable/table.html#google.cloud.bigtabl...
6
1
22
0
19
2
3
0.53
2
10
3
0
3
7
3
5
108
8
66
29
51
35
38
18
34
4
2
2
9
8,221
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/bigtable.py
google.cloud.operators.bigtable.BigtableDeleteInstanceOperator
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator import google.api_core.exceptions from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID from collections.abc import Iterable, Sequence from airflow.providers.google.cloud.hooks.bigtable import BigtableHook...
class BigtableDeleteInstanceOperator(GoogleCloudBaseOperator, BigtableValidationMixin): ''' Deletes the Cloud Bigtable instance, including its clusters and all related tables. For more details about deleting instance have a look at the reference: https://googleapis.github.io/google-cloud-python/latest/...
3
1
16
0
16
0
2
0.55
2
4
1
0
2
4
2
4
64
6
38
19
27
21
19
10
16
3
2
1
4
8,222
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/bigtable.py
google.cloud.operators.bigtable.BigtableDeleteTableOperator
from collections.abc import Iterable, Sequence from airflow.providers.google.cloud.hooks.bigtable import BigtableHook from airflow.exceptions import AirflowException import google.api_core.exceptions from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID from airflow.providers.google.cloud.ope...
class BigtableDeleteTableOperator(GoogleCloudBaseOperator, BigtableValidationMixin): ''' Deletes the Cloud Bigtable table. For more details about deleting table have a look at the reference: https://googleapis.github.io/google-cloud-python/latest/bigtable/table.html#google.cloud.bigtable.table.Table.de...
3
1
20
1
19
1
3
0.52
2
5
2
0
2
6
2
4
76
7
46
24
33
24
24
13
21
4
2
1
5
8,223
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/bigtable.py
google.cloud.operators.bigtable.BigtableUpdateClusterOperator
from airflow.providers.google.cloud.hooks.bigtable import BigtableHook import google.api_core.exceptions from airflow.exceptions import AirflowException from typing import TYPE_CHECKING, Any from airflow.providers.google.cloud.links.bigtable import BigtableClusterLink, BigtableInstanceLink, BigtableTablesLink from airf...
class BigtableUpdateClusterOperator(GoogleCloudBaseOperator, BigtableValidationMixin): ''' Updates a Cloud Bigtable cluster. For more details about updating a Cloud Bigtable cluster, have a look at the reference: https://googleapis.github.io/google-cloud-python/latest/bigtable/cluster.html#google.c...
5
1
19
1
19
0
3
0.49
2
7
3
0
2
6
2
4
76
7
47
25
34
23
26
14
23
4
2
1
5
8,224
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/bigtable.py
google.cloud.operators.bigtable.BigtableUpdateInstanceOperator
from typing import TYPE_CHECKING, Any from airflow.exceptions import AirflowException from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from collections.abc import Iterable, Sequence from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID from airflow.provi...
class BigtableUpdateInstanceOperator(GoogleCloudBaseOperator, BigtableValidationMixin): ''' Updates an existing Cloud Bigtable instance. For more details about instance creation have a look at the reference: https://googleapis.dev/python/bigtable/latest/instance.html#google.cloud.bigtable.instance.Inst...
5
1
23
1
22
0
2
0.5
2
9
3
0
2
8
2
4
85
7
52
29
37
26
26
16
23
3
2
1
4
8,225
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/bigtable.py
google.cloud.operators.bigtable.BigtableValidationMixin
from airflow.exceptions import AirflowException class BigtableValidationMixin: """Common class for Cloud Bigtable operators for validating required fields.""" REQUIRED_ATTRIBUTES = [] def _validate_inputs(self): for attr_name in self.REQUIRED_ATTRIBUTES: if not getattr(self, attr_name)...
class BigtableValidationMixin: '''Common class for Cloud Bigtable operators for validating required fields.''' def _validate_inputs(self): pass
2
1
4
0
4
0
3
0.33
0
1
1
7
1
0
1
1
9
2
6
4
4
2
6
4
4
3
0
2
3
8,226
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_base.py
google.cloud.operators.cloud_base.GoogleCloudBaseOperator
from typing import Any from google.api_core.gapic_v1.method import DEFAULT from airflow.providers.google.version_compat import BaseOperator class GoogleCloudBaseOperator(BaseOperator): """Abstract base class for operators using Google API client libraries.""" def __deepcopy__(self, memo): """ ...
class GoogleCloudBaseOperator(BaseOperator): '''Abstract base class for operators using Google API client libraries.''' def __deepcopy__(self, memo): ''' Update the memo to fix the non-copyable global constant. This constant can be specified in operator parameters as a retry configurat...
4
3
9
1
3
5
1
1.5
1
1
0
420
1
0
1
1
12
2
4
2
2
6
4
2
2
1
1
0
1
8,227
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_batch.py
google.cloud.operators.cloud_batch.CloudBatchDeleteJobOperator
from airflow.exceptions import AirflowException from collections.abc import Sequence from airflow.providers.google.cloud.hooks.cloud_batch import CloudBatchHook from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator class CloudBatchDeleteJobOperator(GoogleCloudBaseOperator): """ ...
class CloudBatchDeleteJobOperator(GoogleCloudBaseOperator): ''' Deletes a job and wait for the operation to be completed. :param project_id: Required. The ID of the Google Cloud project that the service belongs to. :param region: Required. The ID of the Google Cloud region that the service belongs to. ...
4
1
10
1
9
0
1
0.55
1
7
2
0
3
6
3
4
53
8
29
23
16
16
20
14
16
2
2
1
4
8,228
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_batch.py
google.cloud.operators.cloud_batch.CloudBatchListJobsOperator
from airflow.exceptions import AirflowException from google.cloud.batch_v1 import Job, Task from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from airflow.providers.google.cloud.hooks.cloud_batch import CloudBatchHook from collections.abc import Sequence class CloudBatchListJobsOp...
class CloudBatchListJobsOperator(GoogleCloudBaseOperator): ''' List Cloud Batch jobs. :param project_id: Required. The ID of the Google Cloud project that the service belongs to. :param region: Required. The ID of the Google Cloud region that the service belongs to. :param gcp_conn_id: The connecti...
3
1
14
1
13
0
2
0.53
1
6
2
0
2
6
2
3
56
7
32
21
20
17
16
12
13
2
2
1
3
8,229
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_batch.py
google.cloud.operators.cloud_batch.CloudBatchListTasksOperator
from collections.abc import Sequence from airflow.exceptions import AirflowException from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from airflow.providers.google.cloud.hooks.cloud_batch import CloudBatchHook from google.cloud.batch_v1 import Job, Task class CloudBatchListTasksO...
class CloudBatchListTasksOperator(GoogleCloudBaseOperator): ''' List Cloud Batch tasks for a given job. :param project_id: Required. The ID of the Google Cloud project that the service belongs to. :param region: Required. The ID of the Google Cloud region that the service belongs to. :param job_nam...
3
1
18
1
17
0
2
0.53
1
6
2
0
2
8
2
3
62
7
36
25
22
19
18
14
15
2
2
1
3
8,230
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_batch.py
google.cloud.operators.cloud_batch.CloudBatchSubmitJobOperator
from airflow.exceptions import AirflowException from airflow.providers.google.cloud.triggers.cloud_batch import CloudBatchJobFinishedTrigger from airflow.providers.google.cloud.hooks.cloud_batch import CloudBatchHook from google.cloud.batch_v1 import Job, Task from airflow.providers.google.cloud.operators.cloud_base im...
class CloudBatchSubmitJobOperator(GoogleCloudBaseOperator): ''' Submit a job and wait for its completion. :param project_id: Required. The ID of the Google Cloud project that the service belongs to. :param region: Required. The ID of the Google Cloud region that the service belongs to. :param job_n...
4
1
20
1
19
0
2
0.34
1
9
3
0
3
9
3
4
88
9
59
32
43
20
28
20
24
2
2
1
5
8,231
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_build.py
google.cloud.operators.cloud_build.BuildProcessor
from copy import deepcopy from airflow.utils.helpers import exactly_one from urllib.parse import unquote, urlsplit from airflow.exceptions import AirflowException from typing import TYPE_CHECKING, Any from google.cloud.devtools.cloudbuild_v1.types import Build, BuildTrigger, RepoSource class BuildProcessor: """ ...
class BuildProcessor: ''' Processes build configurations to add additional functionality to support the use of operators. The following improvements are made: * It is required to provide the source and only one type can be given, * It is possible to provide the source as the URL address instead dic...
11
4
13
3
8
2
2
0.39
0
5
1
0
6
1
8
8
122
34
64
22
53
25
46
20
37
3
0
1
18
8,232
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_build.py
google.cloud.operators.cloud_build.CloudBuildCancelBuildOperator
from typing import TYPE_CHECKING, Any from airflow.providers.google.cloud.links.cloud_build import CloudBuildLink, CloudBuildListLink, CloudBuildTriggerDetailsLink, CloudBuildTriggersListLink from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from airflow.providers.google.cloud.hook...
class CloudBuildCancelBuildOperator(GoogleCloudBaseOperator): ''' Cancels a build in progress. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:CloudBuildCancelBuildOperator` :param id_: The ID of the build. :param project...
5
1
22
1
22
0
2
0.52
1
7
2
0
2
8
2
3
76
6
46
28
31
24
21
16
18
2
2
1
3
8,233
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_build.py
google.cloud.operators.cloud_build.CloudBuildCreateBuildOperator
from airflow.providers.google.common.consts import GOOGLE_DEFAULT_DEFERRABLE_METHOD_NAME from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from airflow.providers.google.cloud.triggers.cloud_build import CloudBuildCreateBuildTrigger import json from airflow.exceptions import Airflow...
class CloudBuildCreateBuildOperator(GoogleCloudBaseOperator): ''' Starts a build with the specified configuration. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:CloudBuildCreateBuildOperator` :param build: The build resourc...
7
1
26
1
25
1
3
0.31
1
12
5
0
4
14
4
5
145
9
104
42
84
32
48
26
43
4
2
2
12
8,234
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_build.py
google.cloud.operators.cloud_build.CloudBuildCreateBuildTriggerOperator
from google.cloud.devtools.cloudbuild_v1.types import Build, BuildTrigger, RepoSource from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from collections.abc import Sequence from airflow.providers.google.cloud.hooks.cloud_build import CloudBuildHook from typing import TYPE_CHECKING,...
class CloudBuildCreateBuildTriggerOperator(GoogleCloudBaseOperator): ''' Creates a new BuildTrigger. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:CloudBuildCreateBuildTriggerOperator` :param trigger: The BuildTrigger to cr...
5
1
25
0
25
0
2
0.45
1
9
3
0
2
8
2
3
85
5
55
28
40
25
22
16
19
2
2
1
3
8,235
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_build.py
google.cloud.operators.cloud_build.CloudBuildDeleteBuildTriggerOperator
from airflow.providers.google.cloud.hooks.cloud_build import CloudBuildHook from airflow.providers.google.cloud.links.cloud_build import CloudBuildLink, CloudBuildListLink, CloudBuildTriggerDetailsLink, CloudBuildTriggersListLink from typing import TYPE_CHECKING, Any from airflow.providers.google.common.hooks.base_goog...
class CloudBuildDeleteBuildTriggerOperator(GoogleCloudBaseOperator): ''' Deletes a BuildTrigger by its project ID and trigger ID. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:CloudBuildDeleteBuildTriggerOperator` :param tr...
5
1
20
0
20
0
2
0.56
1
7
2
0
2
8
2
3
72
5
43
27
28
24
19
15
16
2
2
1
3
8,236
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_build.py
google.cloud.operators.cloud_build.CloudBuildGetBuildOperator
from airflow.providers.google.cloud.links.cloud_build import CloudBuildLink, CloudBuildListLink, CloudBuildTriggerDetailsLink, CloudBuildTriggersListLink from google.cloud.devtools.cloudbuild_v1.types import Build, BuildTrigger, RepoSource from typing import TYPE_CHECKING, Any from google.api_core.gapic_v1.method impor...
class CloudBuildGetBuildOperator(GoogleCloudBaseOperator): ''' Returns information about a previously requested build. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:CloudBuildGetBuildOperator` :param id_: The ID of the buil...
5
1
21
0
21
0
2
0.53
1
7
2
0
2
8
2
3
74
5
45
28
30
24
20
16
17
2
2
1
3
8,237
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_build.py
google.cloud.operators.cloud_build.CloudBuildGetBuildTriggerOperator
from collections.abc import Sequence from airflow.providers.google.cloud.hooks.cloud_build import CloudBuildHook from airflow.providers.google.cloud.links.cloud_build import CloudBuildLink, CloudBuildListLink, CloudBuildTriggerDetailsLink, CloudBuildTriggersListLink from typing import TYPE_CHECKING, Any from google.api...
class CloudBuildGetBuildTriggerOperator(GoogleCloudBaseOperator): ''' Returns information about a BuildTrigger. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:CloudBuildGetBuildTriggerOperator` :param trigger_id: The ID of t...
5
1
21
0
21
0
2
0.53
1
7
2
0
2
8
2
3
74
5
45
28
30
24
20
16
17
2
2
1
3
8,238
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_build.py
google.cloud.operators.cloud_build.CloudBuildListBuildTriggersOperator
from google.cloud.devtools.cloudbuild_v1.types import Build, BuildTrigger, RepoSource from collections.abc import Sequence from airflow.providers.google.cloud.hooks.cloud_build import CloudBuildHook from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from typing import TYPE_CHECKING,...
class CloudBuildListBuildTriggersOperator(GoogleCloudBaseOperator): ''' Lists existing BuildTriggers. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:CloudBuildListBuildTriggersOperator` :param location: The location of the p...
5
1
22
0
22
0
2
0.53
1
8
2
0
2
9
2
3
78
6
47
30
31
25
21
17
18
2
2
1
3
8,239
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_build.py
google.cloud.operators.cloud_build.CloudBuildListBuildsOperator
from typing import TYPE_CHECKING, Any from airflow.providers.google.cloud.hooks.cloud_build import CloudBuildHook from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault from collections.abc import Sequence from airflow.providers.google.cloud.links.cloud_build import CloudBuildLink, CloudBuildListLink, Clou...
class CloudBuildListBuildsOperator(GoogleCloudBaseOperator): ''' Lists previously requested builds. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:CloudBuildListBuildsOperator` :param location: The location of the project. ...
5
1
21
0
21
0
2
0.57
1
8
2
0
2
9
2
3
75
6
44
30
28
25
21
17
18
2
2
1
3
8,240
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_build.py
google.cloud.operators.cloud_build.CloudBuildRetryBuildOperator
from airflow.providers.google.cloud.links.cloud_build import CloudBuildLink, CloudBuildListLink, CloudBuildTriggerDetailsLink, CloudBuildTriggersListLink from collections.abc import Sequence from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault from airflow.providers.google.common.hooks.base_google import...
class CloudBuildRetryBuildOperator(GoogleCloudBaseOperator): ''' Creates a new build using the original build request, which may or may not result in an identical build. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:CloudBuildR...
5
1
24
1
23
0
2
0.51
1
8
2
0
2
9
2
3
80
6
49
30
33
25
22
17
19
2
2
1
3
8,241
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_build.py
google.cloud.operators.cloud_build.CloudBuildRunBuildTriggerOperator
from airflow.providers.google.cloud.hooks.cloud_build import CloudBuildHook from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault from collections.abc import Sequence from google.cloud.devtools.cloudbuild_v1.types impo...
class CloudBuildRunBuildTriggerOperator(GoogleCloudBaseOperator): ''' Runs a BuildTrigger at a particular source revision. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:CloudBuildRunBuildTriggerOperator` :param trigger_id: ...
5
1
25
0
25
0
2
0.52
1
9
2
0
2
10
2
3
84
5
52
32
35
27
23
18
20
2
2
1
3
8,242
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_build.py
google.cloud.operators.cloud_build.CloudBuildUpdateBuildTriggerOperator
from airflow.providers.google.cloud.links.cloud_build import CloudBuildLink, CloudBuildListLink, CloudBuildTriggerDetailsLink, CloudBuildTriggersListLink from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID from airflow.providers.google.cloud.hooks.cloud_build import CloudBuildHook from goog...
class CloudBuildUpdateBuildTriggerOperator(GoogleCloudBaseOperator): ''' Updates a BuildTrigger by its project ID and trigger ID. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:CloudBuildUpdateBuildTriggerOperator` :param tr...
5
1
23
0
23
0
2
0.53
1
8
2
0
2
9
2
3
80
5
49
30
33
26
22
17
19
2
2
1
3
8,243
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_composer.py
google.cloud.operators.cloud_composer.CloudComposerCreateEnvironmentOperator
from google.api_core.exceptions import AlreadyExists, NotFound from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from typing import TYPE_CHECKING, Any from airflow.providers.google.cloud.triggers.cloud_composer import CloudComposerAirflowCLICommandTrigger, CloudComposerExecutionTri...
class CloudComposerCreateEnvironmentOperator(GoogleCloudBaseOperator): ''' Create a new environment. :param project_id: Required. The ID of the Google Cloud project that the service belongs to. :param region: Required. The ID of the Google Cloud region that the service belongs to. :param environmen...
6
1
32
1
30
0
2
0.22
1
12
4
0
3
11
3
4
132
10
100
38
81
22
39
23
35
4
2
2
7
8,244
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_composer.py
google.cloud.operators.cloud_composer.CloudComposerDeleteEnvironmentOperator
from airflow.configuration import conf from airflow.providers.google.cloud.triggers.cloud_composer import CloudComposerAirflowCLICommandTrigger, CloudComposerExecutionTrigger from airflow.providers.google.common.consts import GOOGLE_DEFAULT_DEFERRABLE_METHOD_NAME from airflow.providers.google.cloud.hooks.cloud_composer...
class CloudComposerDeleteEnvironmentOperator(GoogleCloudBaseOperator): ''' Delete an environment. :param project_id: Required. The ID of the Google Cloud project that the service belongs to. :param region: Required. The ID of the Google Cloud region that the service belongs to. :param environment_i...
4
1
18
0
18
0
1
0.34
1
10
2
0
3
10
3
4
88
5
62
31
44
21
22
17
18
2
2
1
4
8,245
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_composer.py
google.cloud.operators.cloud_composer.CloudComposerEnvironmentLink
from airflow.providers.google.cloud.links.base import BaseGoogleLink class CloudComposerEnvironmentLink(BaseGoogleLink): """Helper class for constructing Cloud Composer Environment Link.""" name = 'Cloud Composer Environment' key = 'composer_conf' format_str = CLOUD_COMPOSER_DETAILS_LINK
class CloudComposerEnvironmentLink(BaseGoogleLink): '''Helper class for constructing Cloud Composer Environment Link.''' pass
1
1
17
0
17
0
1
0.05
1
3
3
0
0
0
1
2
25
2
22
13
12
1
6
5
4
1
2
0
1
8,246
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_composer.py
google.cloud.operators.cloud_composer.CloudComposerEnvironmentsLink
from airflow.providers.google.cloud.links.base import BaseGoogleLink class CloudComposerEnvironmentsLink(BaseGoogleLink): """Helper class for constructing Cloud Composer Environment Link.""" name = 'Cloud Composer Environment List' key = 'composer_conf' format_str = CLOUD_COMPOSER_ENVIRONMENTS_LINK
class CloudComposerEnvironmentsLink(BaseGoogleLink): '''Helper class for constructing Cloud Composer Environment Link.''' pass
1
1
8
0
8
0
1
0.08
1
1
1
0
0
0
1
2
16
2
13
6
10
1
6
5
4
1
2
0
1
8,247
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_composer.py
google.cloud.operators.cloud_composer.CloudComposerGetEnvironmentOperator
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from airflow.providers.google.cloud.hooks.cloud_composer import CloudComposerHook from collections.abc import Sequence from typing import TYPE_CHECKING, Any from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault from go...
class CloudComposerGetEnvironmentOperator(GoogleCloudBaseOperator): ''' Get an existing environment. :param project_id: Required. The ID of the Google Cloud project that the service belongs to. :param region: Required. The ID of the Google Cloud region that the service belongs to. :param environmen...
5
1
20
1
19
0
1
0.4
1
7
2
0
2
8
2
3
70
7
45
27
30
18
18
15
15
1
2
0
2
8,248
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_composer.py
google.cloud.operators.cloud_composer.CloudComposerListEnvironmentsOperator
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault from google.cloud.orchestration.airflow.service_v1.types import Environment, ExecuteAirflowCommandResponse from typing import TYPE_CHECKING, Any from collections.ab...
class CloudComposerListEnvironmentsOperator(GoogleCloudBaseOperator): ''' List environments. :param project_id: Required. The ID of the Google Cloud project that the service belongs to. :param region: Required. The ID of the Google Cloud region that the service belongs to. :param page_size: The max...
5
1
20
0
20
0
1
0.43
1
8
2
0
2
9
2
3
72
5
47
29
31
20
19
16
16
1
2
0
2
8,249
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_composer.py
google.cloud.operators.cloud_composer.CloudComposerListImageVersionsOperator
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault from airflow.providers.google.cloud.hooks.cloud_composer import CloudComposerHook from collections.abc import Sequence from google.cloud.orchestration.airflow.servi...
class CloudComposerListImageVersionsOperator(GoogleCloudBaseOperator): ''' List ImageVersions for provided location. :param request: The request object. List ImageVersions in a project and location. :param retry: Designation of what errors, if any, should be retried. :param timeout: The timeout fo...
3
1
21
0
21
0
1
0.33
1
8
1
0
2
10
2
3
68
4
48
30
31
16
18
16
15
1
2
0
2
8,250
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_composer.py
google.cloud.operators.cloud_composer.CloudComposerRunAirflowCLICommandOperator
from airflow.providers.google.cloud.hooks.cloud_composer import CloudComposerHook from airflow.configuration import conf from airflow.providers.google.common.consts import GOOGLE_DEFAULT_DEFERRABLE_METHOD_NAME import shlex from airflow.exceptions import AirflowException from google.api_core.gapic_v1.method import DEFAU...
class CloudComposerRunAirflowCLICommandOperator(GoogleCloudBaseOperator): ''' Run Airflow command for provided Composer environment. :param project_id: The ID of the Google Cloud project that the service belongs to. :param region: The ID of the Google Cloud region that the service belongs to. :para...
6
3
20
1
19
0
2
0.24
1
11
3
0
5
11
5
6
139
14
101
46
80
24
47
31
41
5
2
1
11
8,251
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_composer.py
google.cloud.operators.cloud_composer.CloudComposerUpdateEnvironmentOperator
from airflow.exceptions import AirflowException from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from typing import TYPE_CHECKING, Any from google.cloud.orchestration.airflow.service_v1.types import Environment, ExecuteAirflowCommandResponse from airflow.providers.google.common.co...
class CloudComposerUpdateEnvironmentOperator(GoogleCloudBaseOperator): ''' Update an environment. :param project_id: Required. The ID of the Google Cloud project that the service belongs to. :param region: Required. The ID of the Google Cloud region that the service belongs to. :param environment_i...
6
1
27
1
26
0
2
0.3
1
12
4
0
3
12
3
4
121
9
86
39
66
26
31
23
27
2
2
1
5
8,252
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_memorystore.py
google.cloud.operators.cloud_memorystore.CloudMemorystoreCreateInstanceAndImportOperator
from collections.abc import Sequence from google.cloud.redis_v1 import FailoverInstanceRequest, InputConfig, Instance, OutputConfig from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID from airflow.providers.google.cloud.links.cloud_memorystore import MemcachedInstanceDetailsLink, MemcachedI...
class CloudMemorystoreCreateInstanceAndImportOperator(GoogleCloudBaseOperator): ''' Create a Redis instance and import a Redis RDB snapshot file from Cloud Storage into this instance. By default, the instance is accessible from the project's `default network <https://cloud.google.com/compute/docs/netwo...
3
1
29
1
28
0
1
0.55
1
8
2
0
2
10
2
3
118
11
69
30
52
38
20
16
17
1
2
0
2
8,253
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_memorystore.py
google.cloud.operators.cloud_memorystore.CloudMemorystoreCreateInstanceOperator
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from airflow.providers.google.cloud.hooks.cloud_memorystore import CloudMemorystoreHook, CloudMemorystoreMemcachedHook from airflow.providers.google.common.hooks.ba...
class CloudMemorystoreCreateInstanceOperator(GoogleCloudBaseOperator): ''' Creates a Redis instance based on the specified tier and memory size. By default, the instance is accessible from the project's `default network <https://cloud.google.com/compute/docs/networks-and-firewalls#networks>`__. .. ...
5
1
23
0
23
0
1
0.6
1
8
2
0
2
9
2
3
101
8
58
29
42
35
19
16
16
1
2
0
2
8,254
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_memorystore.py
google.cloud.operators.cloud_memorystore.CloudMemorystoreDeleteInstanceOperator
from airflow.providers.google.cloud.hooks.cloud_memorystore import CloudMemorystoreHook, CloudMemorystoreMemcachedHook from collections.abc import Sequence from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault from airflow.pr...
class CloudMemorystoreDeleteInstanceOperator(GoogleCloudBaseOperator): ''' Deletes a specific Redis instance. Instance stops serving and data is deleted. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:CloudMemorystoreDeleteInsta...
3
1
17
0
17
0
1
0.53
1
6
1
0
2
8
2
3
74
5
45
25
30
24
15
13
12
1
2
0
2
8,255
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_memorystore.py
google.cloud.operators.cloud_memorystore.CloudMemorystoreExportAndDeleteInstanceOperator
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from collections.abc import Sequence from google.cloud.redis_v1 import FailoverInstanceRequest, InputConfig, Instance, OutputConfig from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault from airflow.providers.google.cl...
class CloudMemorystoreExportAndDeleteInstanceOperator(GoogleCloudBaseOperator): ''' Export Redis instance data into a Redis RDB format file in Cloud Storage. In next step, deletes this instance. Redis will continue serving during this operation. .. seealso:: For more information on how to u...
3
1
24
1
23
0
1
0.51
1
7
1
0
2
9
2
3
96
10
57
27
41
29
17
14
14
1
2
0
2
8,256
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_memorystore.py
google.cloud.operators.cloud_memorystore.CloudMemorystoreExportInstanceOperator
from typing import TYPE_CHECKING, Any from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault from airflow.providers.google.cloud.links.cloud_memorystore import MemcachedInstanceDetailsLink, MemcachedInstanceListLink, RedisInstanceDetailsLink, RedisInstanceListLink from collections.abc import Sequence from ...
class CloudMemorystoreExportInstanceOperator(GoogleCloudBaseOperator): ''' Export Redis instance data into a Redis RDB format file in Cloud Storage. Redis will continue serving during this operation. .. seealso:: For more information on how to use this operator, take a look at the guide: ...
5
1
23
1
22
0
1
0.49
1
8
2
0
2
9
2
3
93
8
57
28
41
28
18
15
15
1
2
0
2
8,257
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_memorystore.py
google.cloud.operators.cloud_memorystore.CloudMemorystoreFailoverInstanceOperator
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from airflow.providers.google.cloud.hooks.cloud_memorystore import CloudMemorystoreHook, CloudMemorystoreMemcachedHook from typing import TYPE_CHECKING...
class CloudMemorystoreFailoverInstanceOperator(GoogleCloudBaseOperator): ''' Initiate a failover of the primary node for a specific STANDARD tier Cloud Memorystore for Redis instance. Uses the current replica node. .. seealso:: For more information on how to use this operator, take a look at th...
5
1
22
0
22
0
1
0.47
1
7
2
0
2
9
2
3
90
6
57
28
41
27
18
15
15
1
2
0
2
8,258
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_memorystore.py
google.cloud.operators.cloud_memorystore.CloudMemorystoreGetInstanceOperator
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from airflow.providers.google.cloud.hooks.cloud_memorystore import CloudMemorystoreHook, CloudMemorystoreMemcachedHook from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault from google.cloud.redis_v1 import FailoverIns...
class CloudMemorystoreGetInstanceOperator(GoogleCloudBaseOperator): ''' Gets the details of a specific Redis instance. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:CloudMemorystoreGetInstanceOperator` :param location: The ...
5
1
21
0
21
0
1
0.44
1
7
2
0
2
8
2
3
83
5
54
27
39
24
18
15
15
1
2
0
2
8,259
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_memorystore.py
google.cloud.operators.cloud_memorystore.CloudMemorystoreImportOperator
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault from typing import TYPE_CHECKING, Any from airflow.providers.google.cloud.hooks.cloud_memorystore import CloudMemorystoreHook, CloudMemorystoreMemcachedHook from go...
class CloudMemorystoreImportOperator(GoogleCloudBaseOperator): ''' Import a Redis RDB snapshot file from Cloud Storage into a Redis instance. Redis may stop serving during this operation. Instance state will be IMPORTING for entire operation. When complete, the instance will contain only data from the ...
5
1
22
0
22
0
1
0.51
1
8
2
0
2
9
2
3
93
7
57
28
41
29
18
15
15
1
2
0
2
8,260
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_memorystore.py
google.cloud.operators.cloud_memorystore.CloudMemorystoreListInstancesOperator
from collections.abc import Sequence from airflow.providers.google.cloud.links.cloud_memorystore import MemcachedInstanceDetailsLink, MemcachedInstanceListLink, RedisInstanceDetailsLink, RedisInstanceListLink from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from airflow.providers....
class CloudMemorystoreListInstancesOperator(GoogleCloudBaseOperator): ''' Lists all Redis instances owned by a project in either the specified location (region) or all locations. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:Cl...
3
1
21
0
21
0
1
0.53
1
8
2
0
2
8
2
3
86
5
53
28
38
28
19
16
16
1
2
0
2
8,261
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_memorystore.py
google.cloud.operators.cloud_memorystore.CloudMemorystoreMemcachedApplyParametersOperator
from collections.abc import Sequence from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault from airflow.providers.google.cloud.hooks.cloud_memorystore import CloudMemorystoreHook, CloudMemorystoreMemcachedHook from air...
class CloudMemorystoreMemcachedApplyParametersOperator(GoogleCloudBaseOperator): ''' Will update current set of Parameters to the set of specified nodes of the Memcached Instance. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:C...
5
1
24
0
24
0
1
0.31
1
8
2
0
2
10
2
3
85
5
61
30
44
19
19
16
16
1
2
0
2
8,262
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_memorystore.py
google.cloud.operators.cloud_memorystore.CloudMemorystoreMemcachedCreateInstanceOperator
from typing import TYPE_CHECKING, Any from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault from google.cloud.memcache_v1beta2.types import cloud_memcache from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID from airflow.providers.google.cloud.hooks.cloud_memorystore import Clo...
class CloudMemorystoreMemcachedCreateInstanceOperator(GoogleCloudBaseOperator): ''' Creates a Memcached instance based on the specified tier and memory size. By default, the instance is accessible from the project's `default network <https://cloud.google.com/compute/docs/networks-and-firewalls#networks...
5
1
21
0
21
0
1
0.51
1
8
2
0
2
8
2
3
88
8
53
27
38
27
18
15
15
1
2
0
2
8,263
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_memorystore.py
google.cloud.operators.cloud_memorystore.CloudMemorystoreMemcachedDeleteInstanceOperator
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID from airflow.providers.google.cloud.hooks.cloud_memorystore import CloudMemorystoreHook, CloudMemorystoreMemcachedHook from collections.abc import Sequence from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOper...
class CloudMemorystoreMemcachedDeleteInstanceOperator(GoogleCloudBaseOperator): ''' Deletes a specific Memcached instance. Instance stops serving and data is deleted. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:CloudMemorysto...
3
1
15
0
15
0
1
0.4
1
6
1
0
2
7
2
3
61
5
40
23
26
16
14
12
11
1
2
0
2
8,264
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_memorystore.py
google.cloud.operators.cloud_memorystore.CloudMemorystoreMemcachedGetInstanceOperator
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault from airflow.providers.google.cloud.links.cloud_memorystore import MemcachedInstanceDetailsLink, MemcachedInstanceListLink, RedisInstanceDetailsLink, RedisInstanceListLink from typing import TYPE_CHECKING, Any from google.cloud.memcache_v1beta2.types i...
class CloudMemorystoreMemcachedGetInstanceOperator(GoogleCloudBaseOperator): ''' Gets the details of a specific Memcached instance. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:CloudMemorystoreMemcachedGetInstanceOperator` ...
5
1
21
0
21
0
1
0.44
1
7
2
0
2
8
2
3
83
5
54
27
39
24
18
15
15
1
2
0
2
8,265
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_memorystore.py
google.cloud.operators.cloud_memorystore.CloudMemorystoreMemcachedListInstancesOperator
from airflow.providers.google.cloud.links.cloud_memorystore import MemcachedInstanceDetailsLink, MemcachedInstanceListLink, RedisInstanceDetailsLink, RedisInstanceListLink from google.cloud.memcache_v1beta2.types import cloud_memcache from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperat...
class CloudMemorystoreMemcachedListInstancesOperator(GoogleCloudBaseOperator): ''' List all Memcached instances owned by a project in either the specified location/region or all locations. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/o...
3
1
19
0
19
0
1
0.51
1
7
2
0
2
7
2
3
79
5
49
26
35
25
18
15
15
1
2
0
2
8,266
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_memorystore.py
google.cloud.operators.cloud_memorystore.CloudMemorystoreMemcachedUpdateInstanceOperator
from airflow.providers.google.cloud.hooks.cloud_memorystore import CloudMemorystoreHook, CloudMemorystoreMemcachedHook from collections.abc import Sequence from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault from airflow.providers.google.cloud.links.cloud_memorystore import MemcachedInstanceDetailsLink,...
class CloudMemorystoreMemcachedUpdateInstanceOperator(GoogleCloudBaseOperator): ''' Updates the metadata and configuration of a specific Memcached instance. :param update_mask: Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths f...
3
1
25
0
24
1
1
0.53
1
8
2
0
2
10
2
3
104
9
62
32
45
33
20
18
17
1
2
0
2
8,267
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_memorystore.py
google.cloud.operators.cloud_memorystore.CloudMemorystoreMemcachedUpdateParametersOperator
from collections.abc import Sequence from airflow.providers.google.cloud.links.cloud_memorystore import MemcachedInstanceDetailsLink, MemcachedInstanceListLink, RedisInstanceDetailsLink, RedisInstanceListLink from typing import TYPE_CHECKING, Any from airflow.providers.google.cloud.hooks.cloud_memorystore import CloudM...
class CloudMemorystoreMemcachedUpdateParametersOperator(GoogleCloudBaseOperator): ''' Updates the defined Memcached Parameters for an existing Instance. This method only stages the parameters, it must be followed by apply_parameters to apply the parameters to nodes of the Memcached Instance. .. see...
5
1
24
0
24
0
1
0.38
1
8
2
0
2
10
2
3
90
6
61
30
44
23
19
16
16
1
2
0
2
8,268
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_memorystore.py
google.cloud.operators.cloud_memorystore.CloudMemorystoreScaleInstanceOperator
from airflow.providers.google.cloud.links.cloud_memorystore import MemcachedInstanceDetailsLink, MemcachedInstanceListLink, RedisInstanceDetailsLink, RedisInstanceListLink from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from airflow.providers.google.cloud.hooks.cloud_memorystore ...
class CloudMemorystoreScaleInstanceOperator(GoogleCloudBaseOperator): ''' Updates the metadata and configuration of a specific Redis instance. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:CloudMemorystoreScaleInstanceOperator`...
3
1
24
1
23
1
1
0.44
1
8
2
0
2
9
2
3
91
6
59
30
43
26
19
17
16
1
2
0
2
8,269
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_memorystore.py
google.cloud.operators.cloud_memorystore.CloudMemorystoreUpdateInstanceOperator
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID from google.cloud.redis_v1 import FailoverInstanceRequest, InputConfig, Instance, OutputConfig from airflow.providers.google.cloud.hooks.cloud_memoryst...
class CloudMemorystoreUpdateInstanceOperator(GoogleCloudBaseOperator): ''' Updates the metadata and configuration of a specific Redis instance. :param update_mask: Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only...
3
1
25
0
24
1
1
0.58
1
8
2
0
2
10
2
3
107
9
62
32
45
36
20
18
17
1
2
0
2
8,270
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_run.py
google.cloud.operators.cloud_run.CloudRunCreateJobOperator
from airflow.providers.google.cloud.hooks.cloud_run import CloudRunHook, CloudRunServiceHook from collections.abc import Sequence from google.cloud.run_v2 import Job, Service from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator class CloudRunCreateJobOperator(GoogleCloudBaseOperator)...
class CloudRunCreateJobOperator(GoogleCloudBaseOperator): ''' Creates a job without executing it. Pushes the created job to xcom. :param project_id: Required. The ID of the Google Cloud project that the service belongs to. :param region: Required. The ID of the Google Cloud region that the service belo...
3
1
13
1
13
0
1
0.59
1
5
1
0
2
6
2
3
48
5
27
21
15
16
14
12
11
1
2
0
2
8,271
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_run.py
google.cloud.operators.cloud_run.CloudRunCreateServiceOperator
from airflow.providers.google.cloud.hooks.cloud_run import CloudRunHook, CloudRunServiceHook import google.cloud.exceptions from google.api_core.exceptions import AlreadyExists from google.cloud.run_v2 import Job, Service from collections.abc import Sequence from airflow.providers.google.cloud.operators.cloud_base impo...
class CloudRunCreateServiceOperator(GoogleCloudBaseOperator): ''' Creates a Service without executing it. Pushes the created service to xcom. :param project_id: Required. The ID of the Google Cloud project that the service belongs to. :param region: Required. The ID of the Google Cloud region that the ...
4
1
17
1
16
0
2
0.31
1
6
2
0
3
6
3
4
74
7
51
24
38
16
26
14
22
3
2
1
6
8,272
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_run.py
google.cloud.operators.cloud_run.CloudRunDeleteJobOperator
from google.cloud.run_v2 import Job, Service from collections.abc import Sequence from airflow.providers.google.cloud.hooks.cloud_run import CloudRunHook, CloudRunServiceHook from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator class CloudRunDeleteJobOperator(GoogleCloudBaseOperator)...
class CloudRunDeleteJobOperator(GoogleCloudBaseOperator): ''' Deletes a job and wait for the the operation to be completed. Pushes the deleted job to xcom. :param project_id: Required. The ID of the Google Cloud project that the service belongs to. :param region: Required. The ID of the Google Cloud re...
3
1
11
1
11
0
1
0.65
1
4
1
0
2
5
2
3
43
5
23
19
12
15
13
11
10
1
2
0
2
8,273
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_run.py
google.cloud.operators.cloud_run.CloudRunDeleteServiceOperator
import google.cloud.exceptions from airflow.exceptions import AirflowException from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from airflow.providers.google.cloud.hooks.cloud_run import CloudRunHook, CloudRunServiceHook from google.cloud.run_v2 import Job, Service from collection...
class CloudRunDeleteServiceOperator(GoogleCloudBaseOperator): ''' Deletes a Service without executing it. Pushes the deleted service to xcom. :param project_id: Required. The ID of the Google Cloud project that the service belongs to. :param region: Required. The ID of the Google Cloud region that the ...
4
1
13
1
12
0
2
0.38
1
5
2
0
3
5
3
4
61
7
39
22
27
15
22
13
18
2
2
1
5
8,274
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_run.py
google.cloud.operators.cloud_run.CloudRunExecuteJobOperator
from airflow.providers.google.cloud.hooks.cloud_run import CloudRunHook, CloudRunServiceHook from collections.abc import Sequence from typing import TYPE_CHECKING, Any from google.cloud.run_v2 import Job, Service from airflow.providers.google.cloud.triggers.cloud_run import CloudRunJobFinishedTrigger, RunJobStatus from...
class CloudRunExecuteJobOperator(GoogleCloudBaseOperator): ''' Executes a job and waits for the operation to be completed. Pushes the executed job to xcom. :param project_id: Required. The ID of the Google Cloud project that the service belongs to. :param region: Required. The ID of the Google Cloud re...
6
1
17
2
16
0
2
0.25
1
12
4
0
5
10
5
6
115
15
80
41
62
20
50
29
44
3
2
1
12
8,275
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_run.py
google.cloud.operators.cloud_run.CloudRunListJobsOperator
from airflow.exceptions import AirflowException from airflow.providers.google.cloud.hooks.cloud_run import CloudRunHook, CloudRunServiceHook from google.cloud.run_v2 import Job, Service from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from collections.abc import Sequence class Cl...
class CloudRunListJobsOperator(GoogleCloudBaseOperator): ''' Lists jobs. :param project_id: Required. The ID of the Google Cloud project that the service belongs to. :param region: Required. The ID of the Google Cloud region that the service belongs to. :param show_deleted: If true, returns deleted...
3
1
14
1
14
0
2
0.53
1
7
2
0
2
6
2
3
57
5
34
21
22
18
16
12
13
2
2
1
3
8,276
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_run.py
google.cloud.operators.cloud_run.CloudRunUpdateJobOperator
from collections.abc import Sequence from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from airflow.providers.google.cloud.hooks.cloud_run import CloudRunHook, CloudRunServiceHook from google.cloud.run_v2 import Job, Service class CloudRunUpdateJobOperator(GoogleCloudBaseOperator)...
class CloudRunUpdateJobOperator(GoogleCloudBaseOperator): ''' Updates a job and wait for the operation to be completed. Pushes the updated job to xcom. :param project_id: Required. The ID of the Google Cloud project that the service belongs to. :param region: Required. The ID of the Google Cloud region...
3
1
13
1
13
0
1
0.63
1
5
1
0
2
6
2
3
49
5
27
21
15
17
14
12
11
1
2
0
2
8,277
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_sql.py
google.cloud.operators.cloud_sql.CloudSQLBaseOperator
from collections.abc import Iterable, Mapping, Sequence from airflow.exceptions import AirflowException from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from airflow.providers.google.cloud.hooks.cloud_sql import CloudSQLDatabaseHook, CloudSQLHook from typing import TYPE_CHECKING, ...
class CloudSQLBaseOperator(GoogleCloudBaseOperator): ''' Abstract base operator for Google Cloud SQL operators. :param instance: Cloud SQL instance ID. This does not include the project ID. :param project_id: Optional, Google Cloud Project ID. f set to None or missing, the default project_...
10
1
7
0
7
0
2
0.36
1
7
2
9
5
5
6
7
67
7
44
26
27
16
34
14
27
3
2
2
12
8,278
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_sql.py
google.cloud.operators.cloud_sql.CloudSQLCloneInstanceOperator
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID, get_field from airflow.exceptions import AirflowException from collections.abc import Iterable, Mapping, Sequence from airflow.providers.google.cloud.hooks.cloud_sql import CloudSQLDatabaseHook, CloudSQLHook class CloudSQLCloneInstanceOp...
class CloudSQLCloneInstanceOperator(CloudSQLBaseOperator): ''' Clone an instance to a target instance. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:CloudSQLCloneInstanceOperator` :param instance: Database instance ID to be...
4
1
17
0
17
0
2
0.47
1
6
2
0
3
5
3
10
90
6
58
23
43
27
16
9
12
2
3
1
5
8,279
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_sql.py
google.cloud.operators.cloud_sql.CloudSQLCreateInstanceDatabaseOperator
from collections.abc import Iterable, Mapping, Sequence from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID, get_field from airflow.providers.google.cloud.links.cloud_sql import CloudSQLInstanceDatabaseLink, CloudSQLInstanceLink from airflow.exceptions import AirflowException from airflow.p...
class CloudSQLCreateInstanceDatabaseOperator(CloudSQLBaseOperator): ''' Create a new database inside a Cloud SQL instance. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:CloudSQLCreateInstanceDatabaseOperator` :param instanc...
5
1
15
0
15
0
2
0.35
1
9
4
0
4
6
4
11
103
7
72
27
56
25
27
12
22
3
3
1
8
8,280
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_sql.py
google.cloud.operators.cloud_sql.CloudSQLCreateInstanceOperator
from airflow.providers.google.cloud.hooks.cloud_sql import CloudSQLDatabaseHook, CloudSQLHook from airflow.providers.google.cloud.utils.field_validator import GcpBodyFieldValidator from airflow.exceptions import AirflowException from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID, get_field...
class CloudSQLCreateInstanceOperator(CloudSQLBaseOperator): ''' Create a new Cloud SQL instance. If an instance with the same name exists, no action will be taken and the operator will succeed. .. seealso:: For more information on how to use this operator, take a look at the guide: ...
5
1
14
1
13
0
2
0.44
1
9
4
0
4
6
4
11
100
10
63
29
47
28
26
14
21
2
3
1
7
8,281
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_sql.py
google.cloud.operators.cloud_sql.CloudSQLDeleteInstanceDatabaseOperator
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID, get_field from airflow.providers.google.cloud.hooks.cloud_sql import CloudSQLDatabaseHook, CloudSQLHook from airflow.exceptions import AirflowException from collections.abc import Iterable, Mapping, Sequence class CloudSQLDeleteInstanceD...
class CloudSQLDeleteInstanceDatabaseOperator(CloudSQLBaseOperator): ''' Delete a database from a Cloud SQL instance. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:CloudSQLDeleteInstanceDatabaseOperator` :param instance: Dat...
4
1
13
0
13
0
2
0.46
1
6
2
0
3
5
3
10
78
6
50
21
36
23
16
8
12
2
3
1
5
8,282
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_sql.py
google.cloud.operators.cloud_sql.CloudSQLDeleteInstanceOperator
from collections.abc import Iterable, Mapping, Sequence from airflow.providers.google.cloud.hooks.cloud_sql import CloudSQLDatabaseHook, CloudSQLHook class CloudSQLDeleteInstanceOperator(CloudSQLBaseOperator): """ Delete a Cloud SQL instance. .. seealso:: For more information on how to use this op...
class CloudSQLDeleteInstanceOperator(CloudSQLBaseOperator): ''' Delete a Cloud SQL instance. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:CloudSQLDeleteInstanceOperator` :param instance: Cloud SQL instance ID. This does no...
2
1
11
0
11
0
2
1.1
1
2
1
0
1
3
1
8
45
4
20
8
18
22
9
5
7
2
3
1
2
8,283
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_sql.py
google.cloud.operators.cloud_sql.CloudSQLExecuteQueryOperator
from functools import cached_property from contextlib import contextmanager from airflow.providers.google.version_compat import BaseHook from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from airflow.providers.google.cloud.hooks.cloud_sql import CloudSQLDatabaseHook, CloudSQLHook f...
class CloudSQLExecuteQueryOperator(GoogleCloudBaseOperator): ''' Perform DML or DDL query on an existing Cloud Sql instance. It optionally uses cloud-sql-proxy to establish secure connection with the database. .. seealso:: For more information on how to use this operator, take a look at the...
8
1
15
0
14
1
1
0.53
1
9
3
1
5
11
5
6
142
12
86
42
63
46
46
26
39
3
2
2
7
8,284
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_sql.py
google.cloud.operators.cloud_sql.CloudSQLExportInstanceOperator
from airflow.providers.google.cloud.utils.field_validator import GcpBodyFieldValidator from airflow.providers.google.cloud.links.cloud_sql import CloudSQLInstanceDatabaseLink, CloudSQLInstanceLink from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID, get_field from airflow.providers.google.c...
class CloudSQLExportInstanceOperator(CloudSQLBaseOperator): ''' Export data from a Cloud SQL instance to a Cloud Storage bucket. The exported format can be a SQL dump or CSV file. Note: This operator is idempotent. If executed multiple times with the same export file URI, the export file in GCS wil...
6
2
17
1
16
1
2
0.39
1
12
6
0
5
9
5
12
136
13
89
33
70
35
31
15
25
2
3
1
9
8,285
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_sql.py
google.cloud.operators.cloud_sql.CloudSQLImportInstanceOperator
from airflow.providers.google.cloud.utils.field_validator import GcpBodyFieldValidator from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID, get_field from airflow.providers.google.common.links.storage import FileDetailsLink from airflow.providers.google.cloud.hooks.cloud_sql import CloudSQL...
class CloudSQLImportInstanceOperator(CloudSQLBaseOperator): ''' Import data into a Cloud SQL instance from Cloud Storage. CSV IMPORT `````````` This operator is NOT idempotent for a CSV import. If the same file is imported multiple times, the imported data will be duplicated in the database. ...
5
1
13
0
13
0
2
0.61
1
10
5
0
4
6
4
11
111
12
62
26
46
38
21
11
16
2
3
1
6
8,286
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_sql.py
google.cloud.operators.cloud_sql.CloudSQLInstancePatchOperator
from airflow.providers.google.cloud.hooks.cloud_sql import CloudSQLDatabaseHook, CloudSQLHook from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID, get_field from collections.abc import Iterable, Mapping, Sequence from airflow.providers.google.cloud.links.cloud_sql import CloudSQLInstanceDat...
class CloudSQLInstancePatchOperator(CloudSQLBaseOperator): ''' Update settings of a Cloud SQL instance. Caution: This is a partial update, so only included values for the settings will be updated. In the request body, supply the relevant portions of an instance resource, according to the rules ...
4
1
15
0
14
0
2
0.54
1
7
3
0
3
5
3
10
91
9
54
23
40
29
17
9
13
2
3
1
5
8,287
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_sql.py
google.cloud.operators.cloud_sql.CloudSQLPatchInstanceDatabaseOperator
from airflow.providers.google.cloud.links.cloud_sql import CloudSQLInstanceDatabaseLink, CloudSQLInstanceLink from airflow.providers.google.cloud.hooks.cloud_sql import CloudSQLDatabaseHook, CloudSQLHook from collections.abc import Iterable, Mapping, Sequence from airflow.providers.google.cloud.utils.field_validator im...
class CloudSQLPatchInstanceDatabaseOperator(CloudSQLBaseOperator): ''' Update resource containing information about a database using patch semantics. See: https://cloud.google.com/sql/docs/mysql/admin-api/how-tos/performance#patch .. seealso:: For more information on how to use this operator, t...
5
1
14
0
14
0
2
0.38
1
9
4
0
4
7
4
11
102
8
69
28
52
26
25
12
20
3
3
1
8
8,288
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_storage_transfer_service.py
google.cloud.operators.cloud_storage_transfer_service.CloudDataTransferServiceCancelOperationOperator
from airflow.providers.google.cloud.hooks.cloud_storage_transfer_service import ACCESS_KEY_ID, AWS_ACCESS_KEY, AWS_ROLE_ARN, AWS_S3_DATA_SOURCE, BUCKET_NAME, DAY, DESCRIPTION, GCS_DATA_SINK, GCS_DATA_SOURCE, HOURS, HTTP_DATA_SOURCE, MINUTES, MONTH, NAME, OBJECT_CONDITIONS, PATH, PROJECT_ID, SCHEDULE, SCHEDULE_END_DATE,...
class CloudDataTransferServiceCancelOperationOperator(GoogleCloudBaseOperator): ''' Cancels a transfer operation in Google Storage Transfer Service. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:CloudDataTransferServiceCancelOp...
4
1
8
0
8
0
1
0.63
1
5
2
0
3
4
3
4
58
6
32
18
20
20
15
10
11
2
2
1
4
8,289
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_storage_transfer_service.py
google.cloud.operators.cloud_storage_transfer_service.CloudDataTransferServiceCreateJobOperator
from airflow.providers.google.cloud.hooks.cloud_storage_transfer_service import ACCESS_KEY_ID, AWS_ACCESS_KEY, AWS_ROLE_ARN, AWS_S3_DATA_SOURCE, BUCKET_NAME, DAY, DESCRIPTION, GCS_DATA_SINK, GCS_DATA_SOURCE, HOURS, HTTP_DATA_SOURCE, MINUTES, MONTH, NAME, OBJECT_CONDITIONS, PATH, PROJECT_ID, SCHEDULE, SCHEDULE_END_DATE,...
class CloudDataTransferServiceCreateJobOperator(GoogleCloudBaseOperator): ''' Creates a transfer job that runs periodically. .. warning:: This operator is NOT idempotent in the following cases: * `name` is not passed in body param * transfer job `name` has been soft deleted. In this...
4
1
14
1
13
0
2
0.69
1
8
4
0
3
6
3
4
95
14
48
25
34
33
24
15
20
2
2
1
5
8,290
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_storage_transfer_service.py
google.cloud.operators.cloud_storage_transfer_service.CloudDataTransferServiceDeleteJobOperator
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID from airflow.providers.google.cloud.hooks.cloud_storage_transfer_service import ACCESS_KEY_ID, AWS_ACCESS_KEY, AWS_ROLE_ARN, AWS_S3_DATA_SOURCE, BUCKET_NAME, DAY, DESCRIPTION, GCS_DATA_SINK, GCS_DATA_SOURCE, HOURS, HTTP_DATA_SOURCE, MINUTE...
class CloudDataTransferServiceDeleteJobOperator(GoogleCloudBaseOperator): ''' Delete a transfer job. This is a soft delete. After a transfer job is deleted, the job and all the transfer executions are subject to garbage collection. Transfer jobs become eligible for garbage collection 30 days after ...
4
1
9
0
9
0
1
0.69
1
5
2
0
3
5
3
4
68
7
36
20
23
25
17
11
13
2
2
1
4
8,291
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_storage_transfer_service.py
google.cloud.operators.cloud_storage_transfer_service.CloudDataTransferServiceGCSToGCSOperator
from collections.abc import Sequence from typing import TYPE_CHECKING, Any from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from airflow.providers.google.cloud.utils.helpers import normalize_directory_path from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJE...
null
6
2
21
2
18
1
3
0.62
1
13
5
0
5
15
5
6
190
26
103
46
78
64
49
27
43
5
2
3
14
8,292
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_storage_transfer_service.py
google.cloud.operators.cloud_storage_transfer_service.CloudDataTransferServiceGetOperationOperator
from airflow.providers.google.cloud.links.cloud_storage_transfer import CloudStorageTransferDetailsLink, CloudStorageTransferJobLink, CloudStorageTransferListLink from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID from airflow.exceptions import AirflowException from collections.abc import ...
class CloudDataTransferServiceGetOperationOperator(GoogleCloudBaseOperator): ''' Gets the latest state of a long-running operation in Google Storage Transfer Service. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:CloudDataTrans...
4
1
13
1
12
0
2
0.47
1
7
3
0
3
5
3
4
71
8
43
23
30
20
21
14
17
2
2
1
5
8,293
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_storage_transfer_service.py
google.cloud.operators.cloud_storage_transfer_service.CloudDataTransferServiceListOperationsOperator
from collections.abc import Sequence from airflow.providers.google.cloud.links.cloud_storage_transfer import CloudStorageTransferDetailsLink, CloudStorageTransferJobLink, CloudStorageTransferListLink from airflow.providers.google.cloud.hooks.cloud_storage_transfer_service import ACCESS_KEY_ID, AWS_ACCESS_KEY, AWS_ROLE_...
class CloudDataTransferServiceListOperationsOperator(GoogleCloudBaseOperator): ''' Lists long-running operations in Google Storage Transfer Service that match the specified filter. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:...
5
2
13
1
12
0
2
0.51
1
8
3
0
3
5
3
4
74
9
43
23
30
22
22
14
18
3
2
1
5
8,294
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_storage_transfer_service.py
google.cloud.operators.cloud_storage_transfer_service.CloudDataTransferServicePauseOperationOperator
from collections.abc import Sequence from airflow.providers.google.cloud.hooks.cloud_storage_transfer_service import ACCESS_KEY_ID, AWS_ACCESS_KEY, AWS_ROLE_ARN, AWS_S3_DATA_SOURCE, BUCKET_NAME, DAY, DESCRIPTION, GCS_DATA_SINK, GCS_DATA_SOURCE, HOURS, HTTP_DATA_SOURCE, MINUTES, MONTH, NAME, OBJECT_CONDITIONS, PATH, PRO...
class CloudDataTransferServicePauseOperationOperator(GoogleCloudBaseOperator): ''' Pauses a transfer operation in Google Storage Transfer Service. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:CloudDataTransferServicePauseOpera...
4
1
8
0
8
0
1
0.59
1
5
2
0
3
4
3
4
57
6
32
18
20
19
15
10
11
2
2
1
4
8,295
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_storage_transfer_service.py
google.cloud.operators.cloud_storage_transfer_service.CloudDataTransferServiceResumeOperationOperator
from collections.abc import Sequence from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from airflow.exceptions import AirflowException from airflow.providers.google.cloud.hooks.cloud_storage_transfer_service import ACCESS_KEY_ID, AWS_ACCESS_KEY, AWS_ROLE_ARN, AWS_S3_DATA_SOURCE, BU...
class CloudDataTransferServiceResumeOperationOperator(GoogleCloudBaseOperator): ''' Resumes a transfer operation in Google Storage Transfer Service. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:CloudDataTransferServiceResumeOp...
4
1
8
0
8
0
1
0.59
1
5
2
0
3
4
3
4
57
6
32
18
20
19
15
10
11
2
2
1
4
8,296
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_storage_transfer_service.py
google.cloud.operators.cloud_storage_transfer_service.CloudDataTransferServiceRunJobOperator
from collections.abc import Sequence from airflow.exceptions import AirflowException from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID from airflow.providers.google.cloud.hooks.cloud_storage_transfer_s...
class CloudDataTransferServiceRunJobOperator(GoogleCloudBaseOperator): ''' Runs a transfer job. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:CloudDataTransferServiceRunJobOperator` :param job_name: (Required) Name of the j...
4
1
12
1
12
0
2
0.5
1
7
3
0
3
5
3
4
74
8
44
22
31
22
20
13
16
2
2
1
5
8,297
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_storage_transfer_service.py
google.cloud.operators.cloud_storage_transfer_service.CloudDataTransferServiceS3ToGCSOperator
from collections.abc import Sequence from datetime import date, time, timedelta from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator from typing import TYPE_CHECKING, Any from airflow.exceptions import AirflowException from airflow.providers.google.cloud.hooks.cloud_storage_transfer_s...
null
6
2
22
2
19
2
3
0.57
1
13
5
0
5
17
5
6
193
24
110
50
83
63
53
29
47
6
2
3
15
8,298
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_storage_transfer_service.py
google.cloud.operators.cloud_storage_transfer_service.CloudDataTransferServiceUpdateJobOperator
from airflow.providers.google.cloud.links.cloud_storage_transfer import CloudStorageTransferDetailsLink, CloudStorageTransferJobLink, CloudStorageTransferListLink from airflow.exceptions import AirflowException from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID from airflow.providers.googl...
class CloudDataTransferServiceUpdateJobOperator(GoogleCloudBaseOperator): ''' Updates a transfer job that runs periodically. .. seealso:: For more information on how to use this operator, take a look at the guide: :ref:`howto/operator:CloudDataTransferServiceUpdateJobOperator` :param jo...
4
1
14
1
14
0
2
0.56
1
9
5
0
3
7
3
4
88
10
50
26
35
28
24
15
20
2
2
1
5
8,299
apache/airflow
apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/cloud_storage_transfer_service.py
google.cloud.operators.cloud_storage_transfer_service.TransferJobPreprocessor
from airflow.providers.amazon.aws.hooks.base_aws import AwsBaseHook from airflow.providers.google.cloud.hooks.cloud_storage_transfer_service import ACCESS_KEY_ID, AWS_ACCESS_KEY, AWS_ROLE_ARN, AWS_S3_DATA_SOURCE, BUCKET_NAME, DAY, DESCRIPTION, GCS_DATA_SINK, GCS_DATA_SOURCE, HOURS, HTTP_DATA_SOURCE, MINUTES, MONTH, NAM...
class TransferJobPreprocessor: '''Helper class for preprocess of transfer job body.''' def __init__(self, body: dict, aws_conn_id: str | None='aws_default', default_schedule: bool=False) -> None: pass def _inject_aws_credentials(self) -> None: pass def _reformat_date(self, field_key:...
11
4
8
1
6
1
2
0.17
0
6
1
0
6
3
8
8
72
12
53
22
40
9
45
18
36
4
0
2
17