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,300 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/compute.py | google.cloud.operators.compute.ComputeEngineBaseOperator | from airflow.exceptions import AirflowException
from typing import TYPE_CHECKING, Any
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from collections.abc import Sequence
class ComputeEngineBaseOper... |
class ComputeEngineBaseOperator(GoogleCloudBaseOperator):
'''Abstract base operator for Google Compute Engine operators to inherit from.'''
def __init__(self, *, zone: str, resource_id: str | None=None, project_id: str=PROVIDE_PROJECT_ID, gcp_conn_id: str='google_cloud_default', api_version: str='v1', imperso... | 6 | 1 | 9 | 0 | 9 | 0 | 2 | 0.04 | 1 | 4 | 1 | 12 | 3 | 6 | 3 | 4 | 31 | 3 | 27 | 20 | 13 | 1 | 17 | 10 | 13 | 3 | 2 | 1 | 5 |
8,301 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/compute.py | google.cloud.operators.compute.ComputeEngineCopyInstanceTemplateOperator | from airflow.providers.google.cloud.hooks.compute import ComputeEngineHook
from copy import deepcopy
from airflow.providers.google.cloud.links.compute import ComputeInstanceDetailsLink, ComputeInstanceGroupManagerDetailsLink, ComputeInstanceTemplateDetailsLink
from airflow.providers.google.cloud.utils.field_validator i... |
class ComputeEngineCopyInstanceTemplateOperator(ComputeEngineBaseOperator):
'''
Copies the instance template, applying specified changes.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:ComputeEngineCopyInstanceTemplateOperator`
... | 5 | 1 | 25 | 0 | 23 | 3 | 3 | 0.47 | 1 | 10 | 5 | 0 | 4 | 7 | 4 | 8 | 155 | 8 | 101 | 32 | 84 | 47 | 41 | 16 | 36 | 3 | 3 | 2 | 10 |
8,302 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/compute.py | google.cloud.operators.compute.ComputeEngineDeleteInstanceGroupManagerOperator | from airflow.providers.google.cloud.hooks.compute import ComputeEngineHook
from collections.abc import Sequence
from airflow.exceptions import AirflowException
from airflow.providers.google.cloud.utils.field_sanitizer import GcpBodyFieldSanitizer
from google.api_core import exceptions
from airflow.providers.google.comm... |
class ComputeEngineDeleteInstanceGroupManagerOperator(ComputeEngineBaseOperator):
'''
Permanently and irrevocably deletes an Instance Group Managers.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:ComputeEngineDeleteInstanceGrou... | 4 | 1 | 22 | 0 | 22 | 1 | 2 | 0.44 | 1 | 10 | 4 | 0 | 3 | 11 | 3 | 7 | 113 | 6 | 75 | 33 | 56 | 33 | 29 | 14 | 25 | 3 | 3 | 2 | 7 |
8,303 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/compute.py | google.cloud.operators.compute.ComputeEngineDeleteInstanceOperator | from airflow.exceptions import AirflowException
from airflow.providers.google.cloud.utils.field_sanitizer import GcpBodyFieldSanitizer
from google.api_core import exceptions
from airflow.providers.google.cloud.hooks.compute import ComputeEngineHook
from airflow.providers.google.cloud.utils.field_validator import GcpBod... |
class ComputeEngineDeleteInstanceOperator(ComputeEngineBaseOperator):
'''
Deletes an Instance in Google Compute Engine.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:ComputeEngineDeleteInstanceOperator`
:param project_id: G... | 4 | 1 | 23 | 0 | 22 | 1 | 2 | 0.45 | 1 | 10 | 4 | 0 | 3 | 11 | 3 | 7 | 115 | 7 | 75 | 33 | 56 | 34 | 29 | 14 | 25 | 3 | 3 | 2 | 7 |
8,304 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/compute.py | google.cloud.operators.compute.ComputeEngineDeleteInstanceTemplateOperator | from airflow.exceptions import AirflowException
from airflow.providers.google.cloud.utils.field_validator import GcpBodyFieldValidator
from google.api_core import exceptions
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.providers.google.cloud.utils.field_sanitizer import ... |
class ComputeEngineDeleteInstanceTemplateOperator(ComputeEngineBaseOperator):
'''
Deletes an Instance Template in Google Compute Engine.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:ComputeEngineDeleteInstanceTemplateOperator`... | 4 | 1 | 21 | 0 | 20 | 1 | 2 | 0.47 | 1 | 10 | 4 | 0 | 3 | 10 | 3 | 7 | 109 | 7 | 70 | 31 | 52 | 33 | 28 | 13 | 24 | 3 | 3 | 2 | 7 |
8,305 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/compute.py | google.cloud.operators.compute.ComputeEngineInsertInstanceFromTemplateOperator | from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from google.cloud.compute_v1.types import Instance, InstanceGroupManager, InstanceTemplate
from google.api_core import exceptions
from airflow.providers.google.cloud.hooks.compute import ComputeEngineHook
from collections.abc import Sequen... |
class ComputeEngineInsertInstanceFromTemplateOperator(ComputeEngineBaseOperator):
'''
Creates an Instance in Google Compute Engine based on specified parameters from existing Template.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/opera... | 5 | 1 | 27 | 0 | 25 | 2 | 3 | 0.43 | 1 | 12 | 5 | 0 | 4 | 13 | 4 | 8 | 171 | 9 | 114 | 41 | 92 | 49 | 44 | 19 | 39 | 3 | 3 | 2 | 10 |
8,306 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/compute.py | google.cloud.operators.compute.ComputeEngineInsertInstanceGroupManagerOperator | from airflow.providers.google.cloud.utils.field_validator import GcpBodyFieldValidator
from airflow.exceptions import AirflowException
from airflow.providers.google.cloud.hooks.compute import ComputeEngineHook
from airflow.providers.google.cloud.utils.field_sanitizer import GcpBodyFieldSanitizer
from google.api_core im... |
class ComputeEngineInsertInstanceGroupManagerOperator(ComputeEngineBaseOperator):
'''
Creates an Instance Group Managers using the body specified.
After the group is created, instances in the group are created using the specified Instance Template.
.. seealso::
For more information on how to us... | 6 | 1 | 22 | 0 | 22 | 1 | 3 | 0.32 | 1 | 12 | 5 | 0 | 5 | 12 | 5 | 9 | 167 | 10 | 120 | 43 | 98 | 38 | 49 | 21 | 43 | 3 | 3 | 2 | 13 |
8,307 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/compute.py | google.cloud.operators.compute.ComputeEngineInsertInstanceOperator | from collections.abc import Sequence
from airflow.providers.google.cloud.utils.field_validator import GcpBodyFieldValidator
from google.api_core import exceptions
from airflow.providers.google.cloud.links.compute import ComputeInstanceDetailsLink, ComputeInstanceGroupManagerDetailsLink, ComputeInstanceTemplateDetailsLi... |
class ComputeEngineInsertInstanceOperator(ComputeEngineBaseOperator):
'''
Creates an Instance in Google Compute Engine based on specified parameters.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:ComputeEngineInsertInstanceOper... | 6 | 1 | 23 | 0 | 22 | 1 | 3 | 0.37 | 1 | 12 | 5 | 0 | 5 | 12 | 5 | 9 | 175 | 10 | 121 | 43 | 99 | 45 | 50 | 22 | 44 | 3 | 3 | 2 | 13 |
8,308 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/compute.py | google.cloud.operators.compute.ComputeEngineInsertInstanceTemplateOperator | from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from google.api_core import exceptions
from collections.abc import Sequence
from airflow.providers.google.cloud.utils.field_sanitizer import GcpBodyFieldSanitizer
from google.cloud.compute_v1.types import Instance, InstanceGroupManager, In... |
class ComputeEngineInsertInstanceTemplateOperator(ComputeEngineBaseOperator):
'''
Creates an Instance Template using specified fields.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:ComputeEngineInsertInstanceTemplateOperator`
... | 6 | 1 | 22 | 0 | 20 | 2 | 3 | 0.37 | 1 | 12 | 5 | 0 | 5 | 10 | 5 | 9 | 164 | 10 | 113 | 40 | 92 | 42 | 50 | 21 | 44 | 3 | 3 | 2 | 13 |
8,309 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/compute.py | google.cloud.operators.compute.ComputeEngineInstanceGroupUpdateManagerTemplateOperator | from airflow.exceptions import AirflowException
from typing import TYPE_CHECKING, Any
from collections.abc import Sequence
from google.cloud.compute_v1.types import Instance, InstanceGroupManager, InstanceTemplate
from airflow.providers.google.cloud.hooks.compute import ComputeEngineHook
from airflow.providers.google.c... |
class ComputeEngineInstanceGroupUpdateManagerTemplateOperator(ComputeEngineBaseOperator):
'''
Patches the Instance Group Manager, replacing source template URL with the destination one.
API V1 does not have update/patch operations for Instance Group Manager,
so you must use beta or newer API version. B... | 5 | 1 | 23 | 0 | 23 | 0 | 3 | 0.33 | 1 | 9 | 3 | 0 | 4 | 9 | 4 | 8 | 146 | 9 | 103 | 35 | 84 | 34 | 42 | 18 | 37 | 7 | 3 | 2 | 13 |
8,310 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/compute.py | google.cloud.operators.compute.ComputeEngineSetMachineTypeOperator | from airflow.providers.google.cloud.links.compute import ComputeInstanceDetailsLink, ComputeInstanceGroupManagerDetailsLink, ComputeInstanceTemplateDetailsLink
from airflow.providers.google.cloud.utils.field_validator import GcpBodyFieldValidator
from airflow.providers.google.cloud.hooks.compute import ComputeEngineHoo... |
class ComputeEngineSetMachineTypeOperator(ComputeEngineBaseOperator):
'''
Changes the machine type for a stopped instance to the machine type specified in the request.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:ComputeEngine... | 5 | 1 | 13 | 0 | 13 | 0 | 2 | 0.46 | 1 | 9 | 4 | 0 | 4 | 6 | 4 | 8 | 100 | 8 | 63 | 26 | 46 | 29 | 21 | 10 | 16 | 2 | 3 | 1 | 7 |
8,311 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/compute.py | google.cloud.operators.compute.ComputeEngineStartInstanceOperator | from airflow.providers.google.cloud.links.compute import ComputeInstanceDetailsLink, ComputeInstanceGroupManagerDetailsLink, ComputeInstanceTemplateDetailsLink
from airflow.exceptions import AirflowException
from airflow.providers.google.cloud.hooks.compute import ComputeEngineHook
from collections.abc import Sequence
... |
class ComputeEngineStartInstanceOperator(ComputeEngineBaseOperator):
'''
Starts an instance in Google Compute Engine.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:ComputeEngineStartInstanceOperator`
:param zone: Google Clo... | 3 | 1 | 9 | 0 | 9 | 0 | 2 | 0.89 | 1 | 4 | 3 | 0 | 2 | 4 | 2 | 6 | 59 | 6 | 28 | 10 | 25 | 25 | 11 | 6 | 8 | 2 | 3 | 1 | 3 |
8,312 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/compute.py | google.cloud.operators.compute.ComputeEngineStopInstanceOperator | from airflow.providers.google.cloud.hooks.compute import ComputeEngineHook
from airflow.providers.google.cloud.links.compute import ComputeInstanceDetailsLink, ComputeInstanceGroupManagerDetailsLink, ComputeInstanceTemplateDetailsLink
from collections.abc import Sequence
from airflow.exceptions import AirflowException
... |
class ComputeEngineStopInstanceOperator(ComputeEngineBaseOperator):
'''
Stops an instance in Google Compute Engine.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:ComputeEngineStopInstanceOperator`
:param zone: Google Cloud ... | 3 | 1 | 9 | 0 | 9 | 0 | 2 | 0.89 | 1 | 4 | 3 | 0 | 2 | 4 | 2 | 6 | 59 | 6 | 28 | 10 | 25 | 25 | 11 | 6 | 8 | 2 | 3 | 1 | 3 |
8,313 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/datacatalog.py | google.cloud.operators.datacatalog.CloudDataCatalogCreateEntryGroupOperator | from google.cloud.datacatalog import DataCatalogClient, Entry, EntryGroup, SearchCatalogRequest, SearchCatalogResult, Tag, TagTemplate, TagTemplateField
from airflow.providers.google.cloud.links.datacatalog import DataCatalogEntryGroupLink, DataCatalogEntryLink, DataCatalogTagTemplateLink
from google.api_core.gapic_v1.... | @deprecated(planned_removal_date='January 30, 2026', use_instead='airflow.providers.google.cloud.operators.dataplex.DataplexCatalogCreateEntryGroupOperator', reason='The Data Catalog will be discontinued on January 30, 2026 in favor of Dataplex Universal Catalog.', category=AirflowProviderDeprecationWarning)
class Clou... | 4 | 1 | 30 | 1 | 30 | 0 | 2 | 0.43 | 1 | 8 | 2 | 0 | 2 | 9 | 2 | 3 | 111 | 8 | 72 | 30 | 56 | 31 | 26 | 17 | 23 | 2 | 2 | 1 | 3 |
8,314 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/datacatalog.py | google.cloud.operators.datacatalog.CloudDataCatalogCreateEntryOperator | from airflow.exceptions import AirflowProviderDeprecationWarning
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc import Sequence
from google.api_core.exceptions import AlreadyExi... | @deprecated(planned_removal_date='January 30, 2026', use_instead='airflow.providers.google.cloud.operators.dataplex.DataplexCatalogCreateEntryOperator', reason='The Data Catalog will be discontinued on January 30, 2026 in favor of Dataplex Universal Catalog.', category=AirflowProviderDeprecationWarning)
class CloudData... | 4 | 1 | 32 | 0 | 32 | 0 | 2 | 0.4 | 1 | 8 | 2 | 0 | 2 | 10 | 2 | 3 | 116 | 7 | 78 | 32 | 61 | 31 | 27 | 18 | 24 | 2 | 2 | 1 | 3 |
8,315 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/datacatalog.py | google.cloud.operators.datacatalog.CloudDataCatalogCreateTagOperator | from airflow.exceptions import AirflowProviderDeprecationWarning
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from google.cloud.datacatalog import DataCatalogClient, Entry, EntryGroup, SearchCatalogRequest, SearchCatalogResult, Tag, TagTemplate, TagTemplateField
from airflow.p... | @deprecated(planned_removal_date='January 30, 2026', use_instead='airflow.providers.google.cloud.operators.dataplex.DataplexCatalogCreateEntryOperator, airflow.providers.google.cloud.operators.dataplex.DataplexCatalogUpdateEntryOperator', reason='The Data Catalog will be discontinued on January 30, 2026 in favor of Dat... | 4 | 1 | 41 | 1 | 40 | 0 | 3 | 0.33 | 1 | 9 | 2 | 0 | 2 | 11 | 2 | 3 | 134 | 8 | 95 | 36 | 77 | 31 | 36 | 21 | 33 | 5 | 2 | 3 | 6 |
8,316 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/datacatalog.py | google.cloud.operators.datacatalog.CloudDataCatalogCreateTagTemplateFieldOperator | 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.common.deprecated import deprecated
from airflow.providers.google.cloud.links.datacatalog import DataCatalogEntryGroupLin... | @deprecated(planned_removal_date='January 30, 2026', use_instead='airflow.providers.google.cloud.operators.dataplex.DataplexCatalogUpdateAspectTypeOperator, airflow.providers.google.cloud.operators.dataplex.DataplexCatalogCreateAspectTypeOperator', reason='The Data Catalog will be discontinued on January 30, 2026 in fa... | 4 | 1 | 32 | 1 | 31 | 0 | 2 | 0.43 | 1 | 8 | 2 | 0 | 2 | 10 | 2 | 3 | 117 | 8 | 76 | 32 | 59 | 33 | 27 | 18 | 24 | 2 | 2 | 1 | 3 |
8,317 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/datacatalog.py | google.cloud.operators.datacatalog.CloudDataCatalogCreateTagTemplateOperator | from airflow.exceptions import AirflowProviderDeprecationWarning
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from google.api_core.exceptions import AlreadyExists, NotFound
from collections.abc import Sequence
from google.cloud.datacatalog import DataCatalogClient, Entry, EntryGroup,... | @deprecated(planned_removal_date='January 30, 2026', use_instead='airflow.providers.google.cloud.operators.dataplex.DataplexCatalogCreateAspectTypeOperator', reason='The Data Catalog will be discontinued on January 30, 2026 in favor of Dataplex Universal Catalog.', category=AirflowProviderDeprecationWarning)
class Clou... | 4 | 1 | 30 | 0 | 30 | 0 | 2 | 0.4 | 1 | 8 | 2 | 0 | 2 | 9 | 2 | 3 | 108 | 7 | 72 | 30 | 56 | 29 | 26 | 17 | 23 | 2 | 2 | 1 | 3 |
8,318 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/datacatalog.py | google.cloud.operators.datacatalog.CloudDataCatalogDeleteEntryGroupOperator | from airflow.providers.google.cloud.hooks.datacatalog import CloudDataCatalogHook
from google.api_core.exceptions import AlreadyExists, NotFound
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from collections.ab... | @deprecated(planned_removal_date='January 30, 2026', use_instead='airflow.providers.google.cloud.operators.dataplex.DataplexCatalogDeleteEntryGroupOperator', reason='The Data Catalog will be discontinued on January 30, 2026 in favor of Dataplex Universal Catalog.', category=AirflowProviderDeprecationWarning)
class Clou... | 4 | 1 | 19 | 0 | 19 | 0 | 2 | 0.54 | 1 | 6 | 1 | 0 | 2 | 8 | 2 | 3 | 80 | 6 | 48 | 25 | 33 | 26 | 18 | 13 | 15 | 2 | 2 | 1 | 3 |
8,319 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/datacatalog.py | google.cloud.operators.datacatalog.CloudDataCatalogDeleteEntryOperator | from google.api_core.exceptions import AlreadyExists, NotFound
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.providers.google.cloud.hooks.datacatalog import CloudDataCatalogHook
from airflow.providers.goo... | @deprecated(planned_removal_date='January 30, 2026', use_instead='airflow.providers.google.cloud.operators.dataplex.DataplexCatalogDeleteEntryOperator', reason='The Data Catalog will be discontinued on January 30, 2026 in favor of Dataplex Universal Catalog.', category=AirflowProviderDeprecationWarning)
class CloudData... | 4 | 1 | 20 | 0 | 20 | 0 | 2 | 0.5 | 1 | 6 | 1 | 0 | 2 | 9 | 2 | 3 | 83 | 5 | 52 | 27 | 36 | 26 | 19 | 14 | 16 | 2 | 2 | 1 | 3 |
8,320 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/datacatalog.py | google.cloud.operators.datacatalog.CloudDataCatalogDeleteTagOperator | from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.exceptions import AirflowProviderDeprecationWarning
from google.api_core.exceptions import AlreadyExists, NotFound
from airflow.providers.google.common.deprecated import deprecated
from airflow.providers.google.cloud.operators... | @deprecated(planned_removal_date='January 30, 2026', use_instead='airflow.providers.google.cloud.operators.dataplex.DataplexCatalogUpdateEntryOperator', reason='The Data Catalog will be discontinued on January 30, 2026 in favor of Dataplex Universal Catalog.', category=AirflowProviderDeprecationWarning)
class CloudData... | 4 | 1 | 22 | 0 | 22 | 0 | 2 | 0.48 | 1 | 6 | 1 | 0 | 2 | 10 | 2 | 3 | 88 | 5 | 56 | 29 | 39 | 27 | 20 | 15 | 17 | 2 | 2 | 1 | 3 |
8,321 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/datacatalog.py | google.cloud.operators.datacatalog.CloudDataCatalogDeleteTagTemplateFieldOperator | from airflow.providers.google.common.deprecated import deprecated
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.cloud.hooks.datacatalog import CloudDataCatalogHook
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from google.api_... | @deprecated(planned_removal_date='January 30, 2026', use_instead='airflow.providers.google.cloud.operators.dataplex.DataplexCatalogUpdateAspectTypeOperator', reason='The Data Catalog will be discontinued on January 30, 2026 in favor of Dataplex Universal Catalog.', category=AirflowProviderDeprecationWarning)
class Clou... | 4 | 1 | 22 | 0 | 22 | 0 | 2 | 0.48 | 1 | 7 | 1 | 0 | 2 | 10 | 2 | 3 | 88 | 5 | 56 | 29 | 39 | 27 | 20 | 15 | 17 | 2 | 2 | 1 | 3 |
8,322 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/datacatalog.py | google.cloud.operators.datacatalog.CloudDataCatalogDeleteTagTemplateOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.common.deprecated import deprecated
from collections.abc import Sequence
from airflow.providers.google.cloud.hooks.datacatalog import CloudDataCatalogHook
from google.api_core.exceptions import AlreadyE... | @deprecated(planned_removal_date='January 30, 2026', use_instead='airflow.providers.google.cloud.operators.dataplex.DataplexCatalogDeleteAspectTypeOperator', reason='The Data Catalog will be discontinued on January 30, 2026 in favor of Dataplex Universal Catalog.', category=AirflowProviderDeprecationWarning)
class Clou... | 4 | 1 | 20 | 0 | 20 | 0 | 2 | 0.54 | 1 | 7 | 1 | 0 | 2 | 9 | 2 | 3 | 85 | 5 | 52 | 27 | 36 | 28 | 19 | 14 | 16 | 2 | 2 | 1 | 3 |
8,323 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/datacatalog.py | google.cloud.operators.datacatalog.CloudDataCatalogGetEntryGroupOperator | from collections.abc import Sequence
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.links.datacatalog import DataCatalogEntryGroupLink, DataCatalogEntryLink, DataCatalogTagTemplateLink
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_... | @deprecated(planned_removal_date='January 30, 2026', use_instead='airflow.providers.google.cloud.operators.dataplex.DataplexCatalogGetEntryGroupOperator', reason='The Data Catalog will be discontinued on January 30, 2026 in favor of Dataplex Universal Catalog.', category=AirflowProviderDeprecationWarning)
class CloudDa... | 4 | 1 | 23 | 0 | 23 | 0 | 1 | 0.48 | 1 | 8 | 2 | 0 | 2 | 9 | 2 | 3 | 92 | 6 | 58 | 29 | 42 | 28 | 19 | 16 | 16 | 1 | 2 | 0 | 2 |
8,324 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/datacatalog.py | google.cloud.operators.datacatalog.CloudDataCatalogGetEntryOperator | from airflow.providers.google.cloud.hooks.datacatalog import CloudDataCatalogHook
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.links.datacatalog import DataCatalogEntryGroupLink, DataCatalogEntryLink, DataCatalogTagTemplateLink
from airflow.providers.google.clo... | @deprecated(planned_removal_date='January 30, 2026', use_instead='airflow.providers.google.cloud.operators.dataplex.DataplexCatalogGetEntryOperator', reason='The Data Catalog will be discontinued on January 30, 2026 in favor of Dataplex Universal Catalog.', category=AirflowProviderDeprecationWarning)
class CloudDataCat... | 4 | 1 | 23 | 0 | 23 | 0 | 1 | 0.44 | 1 | 8 | 2 | 0 | 2 | 9 | 2 | 3 | 90 | 5 | 59 | 29 | 43 | 26 | 19 | 16 | 16 | 1 | 2 | 0 | 2 |
8,325 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/datacatalog.py | google.cloud.operators.datacatalog.CloudDataCatalogGetTagTemplateOperator | from google.cloud.datacatalog import DataCatalogClient, Entry, EntryGroup, SearchCatalogRequest, SearchCatalogResult, Tag, TagTemplate, TagTemplateField
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.common.deprecated import deprecated
from airflow.providers.google.com... | @deprecated(planned_removal_date='January 30, 2026', use_instead='airflow.providers.google.cloud.operators.dataplex.DataplexCatalogGetAspectTypeOperator', reason='The Data Catalog will be discontinued on January 30, 2026 in favor of Dataplex Universal Catalog.', category=AirflowProviderDeprecationWarning)
class CloudDa... | 4 | 1 | 21 | 0 | 21 | 0 | 1 | 0.46 | 1 | 8 | 2 | 0 | 2 | 8 | 2 | 3 | 84 | 5 | 54 | 27 | 39 | 25 | 18 | 15 | 15 | 1 | 2 | 0 | 2 |
8,326 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/datacatalog.py | google.cloud.operators.datacatalog.CloudDataCatalogListTagsOperator | from airflow.providers.google.common.deprecated import deprecated
from collections.abc import Sequence
from airflow.providers.google.cloud.links.datacatalog import DataCatalogEntryGroupLink, DataCatalogEntryLink, DataCatalogTagTemplateLink
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID... | @deprecated(planned_removal_date='January 30, 2026', use_instead='airflow.providers.google.cloud.operators.dataplex.DataplexCatalogGetEntryOperator', reason='The Data Catalog will be discontinued on January 30, 2026 in favor of Dataplex Universal Catalog.', category=AirflowProviderDeprecationWarning)
class CloudDataCat... | 4 | 1 | 25 | 0 | 25 | 0 | 1 | 0.48 | 1 | 9 | 2 | 0 | 2 | 10 | 2 | 3 | 98 | 5 | 63 | 31 | 46 | 30 | 20 | 17 | 17 | 1 | 2 | 0 | 2 |
8,327 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/datacatalog.py | google.cloud.operators.datacatalog.CloudDataCatalogLookupEntryOperator | from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.exceptions import AirflowProviderDeprecationWarning
from airflow.providers.google.cloud.hooks.datacatalog import CloudDataCatalogHook
from airflow.providers.google.cloud.links.datacatalog import DataCatalogEntryGroupLink, DataCatalogEntryL... | @deprecated(planned_removal_date='January 30, 2026', use_instead='airflow.providers.google.cloud.operators.dataplex.DataplexCatalogLookupEntryOperator', reason='The Data Catalog will be discontinued on January 30, 2026 in favor of Dataplex Universal Catalog.', category=AirflowProviderDeprecationWarning)
class CloudData... | 4 | 1 | 22 | 1 | 22 | 0 | 1 | 0.49 | 1 | 8 | 2 | 0 | 2 | 8 | 2 | 3 | 89 | 7 | 55 | 28 | 40 | 27 | 19 | 16 | 16 | 1 | 2 | 0 | 2 |
8,328 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/datacatalog.py | google.cloud.operators.datacatalog.CloudDataCatalogRenameTagTemplateFieldOperator | from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc import Sequence
from airflow.providers.google.cloud.links.datacatalog import DataCatalogEntryGroupLink, DataCatalogEntryLink, Data... | @deprecated(planned_removal_date='January 30, 2026', use_instead='airflow.providers.google.cloud.operators.dataplex.DataplexCatalogUpdateAspectTypeOperator', reason='The Data Catalog will be discontinued on January 30, 2026 in favor of Dataplex Universal Catalog.', category=AirflowProviderDeprecationWarning)
class Clou... | 4 | 1 | 24 | 0 | 24 | 0 | 1 | 0.48 | 1 | 7 | 2 | 0 | 2 | 10 | 2 | 3 | 95 | 5 | 61 | 30 | 44 | 29 | 19 | 16 | 16 | 1 | 2 | 0 | 2 |
8,329 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/datacatalog.py | google.cloud.operators.datacatalog.CloudDataCatalogSearchCatalogOperator | from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.exceptions import AirflowProviderDeprecationWarning
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.common.deprecated import deprecated
from airflow.providers.google.clo... | @deprecated(planned_removal_date='January 30, 2026', use_instead='airflow.providers.google.cloud.operators.dataplex.DataplexCatalogSearchEntriesOperator', reason='The Data Catalog will be discontinued on January 30, 2026 in favor of Dataplex Universal Catalog.', category=AirflowProviderDeprecationWarning)
class CloudDa... | 4 | 1 | 19 | 0 | 19 | 0 | 1 | 0.9 | 1 | 9 | 1 | 0 | 2 | 9 | 2 | 3 | 108 | 13 | 50 | 28 | 34 | 45 | 17 | 15 | 14 | 1 | 2 | 0 | 2 |
8,330 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/datacatalog.py | google.cloud.operators.datacatalog.CloudDataCatalogUpdateEntryOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.cloud.links.datacatalog import DataCatalogEntryGroupLink, DataCatalogEntryLink, DataCatalogTagTemplateLink
from airflow.exceptions import AirflowProviderDeprecationWarning
from airflow.providers.google.... | @deprecated(planned_removal_date='January 30, 2026', use_instead='airflow.providers.google.cloud.operators.dataplex.DataplexCatalogUpdateEntryOperator', reason='The Data Catalog will be discontinued on January 30, 2026 in favor of Dataplex Universal Catalog.', category=AirflowProviderDeprecationWarning)
class CloudData... | 4 | 1 | 27 | 1 | 26 | 0 | 1 | 0.49 | 1 | 8 | 2 | 0 | 2 | 11 | 2 | 3 | 108 | 8 | 67 | 34 | 49 | 33 | 21 | 19 | 18 | 1 | 2 | 0 | 2 |
8,331 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/datacatalog.py | google.cloud.operators.datacatalog.CloudDataCatalogUpdateTagOperator | from airflow.providers.google.cloud.links.datacatalog import DataCatalogEntryGroupLink, DataCatalogEntryLink, DataCatalogTagTemplateLink
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from google.cloud.datacatalog import DataCatalogClient, Entry, EntryGroup, SearchCatalogRequest... | @deprecated(planned_removal_date='January 30, 2026', use_instead='airflow.providers.google.cloud.operators.dataplex.DataplexCatalogUpdateEntryOperator', reason='The Data Catalog will be discontinued on January 30, 2026 in favor of Dataplex Universal Catalog.', category=AirflowProviderDeprecationWarning)
class CloudData... | 4 | 1 | 28 | 1 | 28 | 0 | 1 | 0.46 | 1 | 8 | 2 | 0 | 2 | 12 | 2 | 3 | 112 | 8 | 71 | 36 | 52 | 33 | 22 | 20 | 19 | 1 | 2 | 0 | 2 |
8,332 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/datacatalog.py | google.cloud.operators.datacatalog.CloudDataCatalogUpdateTagTemplateFieldOperator | from google.cloud.datacatalog import DataCatalogClient, Entry, EntryGroup, SearchCatalogRequest, SearchCatalogResult, Tag, TagTemplate, TagTemplateField
from airflow.providers.google.cloud.hooks.datacatalog import CloudDataCatalogHook
from airflow.providers.google.common.deprecated import deprecated
from collections.ab... | @deprecated(planned_removal_date='January 30, 2026', use_instead='airflow.providers.google.cloud.operators.dataplex.DataplexCatalogUpdateAspectTypeOperator', reason='The Data Catalog will be discontinued on January 30, 2026 in favor of Dataplex Universal Catalog.', category=AirflowProviderDeprecationWarning)
class Clou... | 4 | 1 | 28 | 1 | 27 | 0 | 1 | 0.54 | 1 | 8 | 2 | 0 | 2 | 12 | 2 | 3 | 119 | 11 | 70 | 36 | 51 | 38 | 22 | 20 | 19 | 1 | 2 | 0 | 2 |
8,333 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/datacatalog.py | google.cloud.operators.datacatalog.CloudDataCatalogUpdateTagTemplateOperator | from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.exceptions import AirflowProviderDeprecationWarning
from google.cloud.datacatalog import DataCatalogClient, Entry, EntryGroup, SearchCatal... | @deprecated(planned_removal_date='January 30, 2026', use_instead='airflow.providers.google.cloud.operators.dataplex.DataplexCatalogUpdateAspectTypeOperator', reason='The Data Catalog will be discontinued on January 30, 2026 in favor of Dataplex Universal Catalog.', category=AirflowProviderDeprecationWarning)
class Clou... | 4 | 1 | 25 | 1 | 24 | 0 | 1 | 0.56 | 1 | 8 | 2 | 0 | 2 | 10 | 2 | 3 | 107 | 10 | 62 | 32 | 45 | 35 | 20 | 18 | 17 | 1 | 2 | 0 | 2 |
8,334 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataflow.py | google.cloud.operators.dataflow.CheckJobRunning | from enum import Enum
class CheckJobRunning(Enum):
"""
Helper enum for choosing what to do if job is already running.
IgnoreJob - do not check if running
FinishIfRunning - finish current dag run with no action
WaitForRun - wait for job to finish and then continue with new job
"""
IgnoreJob... |
class CheckJobRunning(Enum):
'''
Helper enum for choosing what to do if job is already running.
IgnoreJob - do not check if running
FinishIfRunning - finish current dag run with no action
WaitForRun - wait for job to finish and then continue with new job
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 49 | 12 | 2 | 4 | 4 | 3 | 6 | 4 | 4 | 3 | 0 | 4 | 0 | 0 |
8,335 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataflow.py | google.cloud.operators.dataflow.DataflowConfiguration | from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from collections.abc import Sequence
from airflow.providers.google.cloud.hooks.dataflow import DEFAULT_DATAFLOW_LOCATION, DataflowHook
class DataflowConfiguration:
"""
Dataflow configuration for BeamRunJavaPipelineOperator and Bea... |
class DataflowConfiguration:
'''
Dataflow configuration for BeamRunJavaPipelineOperator and BeamRunPythonPipelineOperator.
.. seealso::
:class:`~airflow.providers.apache.beam.operators.beam.BeamRunJavaPipelineOperator`
and :class:`~airflow.providers.apache.beam.operators.beam.BeamRunPythonP... | 2 | 1 | 30 | 0 | 30 | 0 | 1 | 1.91 | 0 | 5 | 1 | 0 | 1 | 13 | 1 | 1 | 106 | 13 | 32 | 32 | 14 | 61 | 16 | 16 | 14 | 1 | 0 | 0 | 1 |
8,336 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataflow.py | google.cloud.operators.dataflow.DataflowCreatePipelineOperator | from typing import TYPE_CHECKING, Any
from googleapiclient.errors import HttpError
from collections.abc import Sequence
from airflow.providers.google.cloud.hooks.dataflow import DEFAULT_DATAFLOW_LOCATION, DataflowHook
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.p... |
class DataflowCreatePipelineOperator(GoogleCloudBaseOperator):
'''
Creates a new Dataflow Data Pipeline instance.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:DataflowCreatePipelineOperator`
:param body: The request body (... | 5 | 1 | 30 | 2 | 27 | 1 | 5 | 0.43 | 1 | 7 | 3 | 0 | 2 | 8 | 2 | 3 | 91 | 11 | 56 | 22 | 44 | 24 | 32 | 12 | 29 | 8 | 2 | 2 | 10 |
8,337 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataflow.py | google.cloud.operators.dataflow.DataflowDeletePipelineOperator | from airflow.providers.google.cloud.hooks.dataflow import DEFAULT_DATAFLOW_LOCATION, DataflowHook
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc import Sequence
from airflow.exceptions import AirflowException
from airflow.providers.google.common.hooks.base_g... |
class DataflowDeletePipelineOperator(GoogleCloudBaseOperator):
'''
Deletes a Dataflow Data Pipeline.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:DataflowDeletePipelineOperator`
:param pipeline_name: The display name of th... | 3 | 1 | 20 | 3 | 18 | 0 | 3 | 0.53 | 1 | 6 | 2 | 0 | 2 | 7 | 2 | 3 | 64 | 9 | 36 | 18 | 25 | 19 | 22 | 10 | 19 | 5 | 2 | 1 | 6 |
8,338 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataflow.py | google.cloud.operators.dataflow.DataflowRunPipelineOperator | from airflow.providers.google.cloud.hooks.dataflow import DEFAULT_DATAFLOW_LOCATION, DataflowHook
from airflow.providers.google.cloud.links.dataflow import DataflowJobLink, DataflowPipelineLink
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.exceptions import Airflow... |
class DataflowRunPipelineOperator(GoogleCloudBaseOperator):
'''
Runs a Dataflow Data Pipeline.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:DataflowRunPipelineOperator`
:param pipeline_name: The display name of the pipeli... | 3 | 1 | 22 | 2 | 21 | 0 | 4 | 0.47 | 1 | 7 | 3 | 0 | 2 | 7 | 2 | 3 | 72 | 9 | 43 | 22 | 32 | 20 | 29 | 12 | 26 | 7 | 2 | 2 | 8 |
8,339 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataflow.py | google.cloud.operators.dataflow.DataflowStartFlexTemplateOperator | from functools import cached_property
from airflow.providers.google.cloud.hooks.dataflow import DEFAULT_DATAFLOW_LOCATION, DataflowHook
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.cloud.triggers.dataflow import DataflowStartYamlJobTrigger, Templa... |
class DataflowStartFlexTemplateOperator(GoogleCloudBaseOperator):
'''
Starts a Dataflow Job with a Flex Template.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:DataflowStartFlexTemplateOperator`
:param body: The request bod... | 10 | 2 | 15 | 1 | 14 | 0 | 2 | 0.5 | 1 | 11 | 4 | 0 | 7 | 13 | 7 | 8 | 196 | 25 | 114 | 47 | 88 | 57 | 62 | 30 | 53 | 3 | 2 | 1 | 15 |
8,340 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataflow.py | google.cloud.operators.dataflow.DataflowStartYamlJobOperator | from typing import TYPE_CHECKING, Any
from airflow.providers.google.cloud.links.dataflow import DataflowJobLink, DataflowPipelineLink
from airflow.configuration import conf
from airflow.exceptions import AirflowException
from airflow.providers.google.common.consts import GOOGLE_DEFAULT_DEFERRABLE_METHOD_NAME
from airfl... |
class DataflowStartYamlJobOperator(GoogleCloudBaseOperator):
'''
Launch a Dataflow YAML job and return the result.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:DataflowStartYamlJobOperator`
.. warning::
This operat... | 7 | 3 | 20 | 1 | 18 | 1 | 2 | 0.49 | 1 | 11 | 4 | 0 | 5 | 15 | 5 | 6 | 170 | 14 | 105 | 45 | 80 | 51 | 43 | 26 | 37 | 2 | 2 | 1 | 8 |
8,341 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataflow.py | google.cloud.operators.dataflow.DataflowStopJobOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from collections.abc import Sequence
from airflow.providers.google.cloud.hooks.dataflow import DEFAULT_DATAFLOW_LOCATION, DataflowHook
class DataflowS... |
class DataflowStopJobOperator(GoogleCloudBaseOperator):
'''
Stops the job with the specified name prefix or Job ID.
All jobs with provided name prefix will be stopped.
Streaming jobs are drained by default.
Parameter ``job_name_prefix`` and ``job_id`` are mutually exclusive.
.. seealso::
... | 3 | 1 | 24 | 1 | 23 | 0 | 2 | 0.6 | 1 | 6 | 1 | 0 | 2 | 11 | 2 | 3 | 92 | 9 | 52 | 27 | 37 | 31 | 20 | 15 | 17 | 2 | 2 | 1 | 3 |
8,342 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataflow.py | google.cloud.operators.dataflow.DataflowTemplatedJobStartOperator | from airflow.providers.google.cloud.links.dataflow import DataflowJobLink, DataflowPipelineLink
from typing import TYPE_CHECKING, Any
from airflow.configuration import conf
from airflow.providers.google.cloud.hooks.dataflow import DEFAULT_DATAFLOW_LOCATION, DataflowHook
from airflow.exceptions import AirflowException
f... | null | 9 | 2 | 20 | 1 | 18 | 0 | 2 | 0.75 | 1 | 12 | 4 | 0 | 6 | 17 | 6 | 7 | 285 | 41 | 140 | 53 | 111 | 105 | 62 | 32 | 54 | 3 | 2 | 1 | 13 |
8,343 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataform.py | google.cloud.operators.dataform.DataformCancelWorkflowInvocationOperator | from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.hooks.dataform import DataformHook
from collections.abc import Sequence
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.cloud.links.dataform impor... |
class DataformCancelWorkflowInvocationOperator(GoogleCloudBaseOperator):
'''
Requests cancellation of a running WorkflowInvocation.
:param project_id: Required. The ID of the Google Cloud project that the task belongs to.
:param region: Required. The ID of the Google Cloud region that the task belongs ... | 3 | 1 | 19 | 0 | 19 | 0 | 1 | 0.4 | 1 | 6 | 1 | 0 | 2 | 9 | 2 | 3 | 70 | 4 | 47 | 28 | 31 | 19 | 17 | 15 | 14 | 1 | 2 | 0 | 2 |
8,344 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataform.py | google.cloud.operators.dataform.DataformCreateCompilationResultOperator | from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.hooks.dataform import DataformHook
from collections.abc import Sequence
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from google.cloud.dataform_v1beta1.types import Compilat... |
class DataformCreateCompilationResultOperator(GoogleCloudBaseOperator):
'''
Creates a new CompilationResult in a given project and location.
:param project_id: Required. The ID of the Google Cloud project that the task belongs to.
:param region: Required. The ID of the Google Cloud region that the task... | 3 | 1 | 20 | 0 | 20 | 0 | 1 | 0.46 | 1 | 7 | 1 | 0 | 2 | 9 | 2 | 3 | 64 | 4 | 41 | 28 | 25 | 19 | 17 | 15 | 14 | 1 | 2 | 0 | 2 |
8,345 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataform.py | google.cloud.operators.dataform.DataformCreateRepositoryOperator | from airflow.providers.google.cloud.links.dataform import DataformRepositoryLink, DataformWorkflowInvocationLink, DataformWorkspaceLink
from airflow.providers.google.cloud.hooks.dataform import DataformHook
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc impo... |
class DataformCreateRepositoryOperator(GoogleCloudBaseOperator):
'''
Creates repository.
:param project_id: Required. The ID of the Google Cloud project that the task belongs to.
:param region: Required. The ID of the Google Cloud region that the task belongs to.
:param repository_id: Required. The... | 3 | 1 | 25 | 3 | 22 | 0 | 1 | 0.35 | 1 | 8 | 2 | 0 | 2 | 8 | 2 | 3 | 79 | 10 | 51 | 27 | 36 | 18 | 18 | 15 | 15 | 1 | 2 | 0 | 2 |
8,346 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataform.py | google.cloud.operators.dataform.DataformCreateWorkflowInvocationOperator | from google.cloud.dataform_v1beta1.types import CompilationResult, InstallNpmPackagesResponse, MakeDirectoryResponse, Repository, WorkflowInvocation, WorkflowInvocationAction, Workspace, WriteFileResponse
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.goog... |
class DataformCreateWorkflowInvocationOperator(GoogleCloudBaseOperator):
'''
Creates a new WorkflowInvocation in a given Repository.
:param project_id: Required. The ID of the Google Cloud project that the task belongs to.
:param region: Required. The ID of the Google Cloud region that the task belongs... | 3 | 1 | 31 | 0 | 31 | 0 | 2 | 0.36 | 1 | 9 | 2 | 0 | 2 | 11 | 2 | 3 | 91 | 4 | 64 | 34 | 46 | 23 | 24 | 19 | 21 | 2 | 2 | 1 | 3 |
8,347 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataform.py | google.cloud.operators.dataform.DataformCreateWorkspaceOperator | from google.cloud.dataform_v1beta1.types import CompilationResult, InstallNpmPackagesResponse, MakeDirectoryResponse, Repository, WorkflowInvocation, WorkflowInvocationAction, Workspace, WriteFileResponse
from collections.abc import Sequence
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airfl... |
class DataformCreateWorkspaceOperator(GoogleCloudBaseOperator):
'''
Creates workspace.
:param project_id: Required. The ID of the Google Cloud project where workspace should be in.
:param region: Required. Name of the Google Cloud region that where workspace should be in.
:param repository_id: Requ... | 3 | 1 | 27 | 3 | 24 | 0 | 1 | 0.34 | 1 | 8 | 2 | 0 | 2 | 9 | 2 | 3 | 85 | 10 | 56 | 29 | 40 | 19 | 19 | 16 | 16 | 1 | 2 | 0 | 2 |
8,348 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataform.py | google.cloud.operators.dataform.DataformDeleteRepositoryOperator | from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from collections.abc import Sequence
from airflow.providers.google.cloud.hooks.dataform import DataformHook
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
class DataformDeleteRepositoryOperator(GoogleCloudBaseO... |
class DataformDeleteRepositoryOperator(GoogleCloudBaseOperator):
'''
Deletes repository.
:param project_id: Required. The ID of the Google Cloud project where repository located.
:param region: Required. The ID of the Google Cloud region where repository located.
:param repository_id: Required. The... | 3 | 1 | 21 | 2 | 19 | 0 | 1 | 0.4 | 1 | 7 | 1 | 0 | 2 | 9 | 2 | 3 | 71 | 8 | 45 | 27 | 29 | 18 | 16 | 14 | 13 | 1 | 2 | 0 | 2 |
8,349 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataform.py | google.cloud.operators.dataform.DataformDeleteWorkspaceOperator | from airflow.providers.google.cloud.hooks.dataform import DataformHook
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc import Sequence
class DataformDeleteWorkspaceOperator(GoogleCloudBaseOp... |
class DataformDeleteWorkspaceOperator(GoogleCloudBaseOperator):
'''
Deletes workspace.
:param project_id: Required. The ID of the Google Cloud project where workspace located.
:param region: Required. The ID of the Google Cloud region where workspace located.
:param repository_id: Required. The ID ... | 3 | 1 | 21 | 2 | 19 | 0 | 1 | 0.41 | 1 | 6 | 1 | 0 | 2 | 9 | 2 | 3 | 73 | 8 | 46 | 27 | 30 | 19 | 16 | 14 | 13 | 1 | 2 | 0 | 2 |
8,350 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataform.py | google.cloud.operators.dataform.DataformGetCompilationResultOperator | from airflow.providers.google.cloud.hooks.dataform import DataformHook
from google.cloud.dataform_v1beta1.types import CompilationResult, InstallNpmPackagesResponse, MakeDirectoryResponse, Repository, WorkflowInvocation, WorkflowInvocationAction, Workspace, WriteFileResponse
from collections.abc import Sequence
from go... |
class DataformGetCompilationResultOperator(GoogleCloudBaseOperator):
'''
Fetches a single CompilationResult.
:param project_id: Required. The ID of the Google Cloud project that the task belongs to.
:param region: Required. The ID of the Google Cloud region that the task belongs to.
:param reposito... | 3 | 1 | 20 | 0 | 20 | 0 | 1 | 0.4 | 1 | 6 | 1 | 0 | 2 | 9 | 2 | 3 | 70 | 4 | 47 | 28 | 31 | 19 | 17 | 15 | 14 | 1 | 2 | 0 | 2 |
8,351 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataform.py | google.cloud.operators.dataform.DataformGetWorkflowInvocationOperator | from airflow.providers.google.cloud.hooks.dataform import DataformHook
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.links.dataform import DataformRepositoryLink, DataformWorkflowInvocationLink, DataformWorkspaceLink
from airflow.providers.google.cloud.operators... |
class DataformGetWorkflowInvocationOperator(GoogleCloudBaseOperator):
'''
Fetches a single WorkflowInvocation.
:param project_id: Required. The ID of the Google Cloud project that the task belongs to.
:param region: Required. The ID of the Google Cloud region that the task belongs to.
:param reposi... | 3 | 1 | 20 | 0 | 20 | 0 | 1 | 0.4 | 1 | 6 | 1 | 0 | 2 | 9 | 2 | 3 | 71 | 4 | 48 | 29 | 32 | 19 | 18 | 16 | 15 | 1 | 2 | 0 | 2 |
8,352 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataform.py | google.cloud.operators.dataform.DataformInstallNpmPackagesOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from google.cloud.dataform_v1beta1.types import CompilationResult, InstallNpmPackagesResponse, MakeDirectoryResponse, Repository, WorkflowInvocation, WorkflowInvocationAction, Workspace, WriteFileResponse
from google.api_core.gapic_... |
class DataformInstallNpmPackagesOperator(GoogleCloudBaseOperator):
'''
Install NPM dependencies in the provided workspace.
Requires "package.json" to be created in the workspace.
:param project_id: Required. The ID of the Google Cloud project where workspace located.
:param region: Required. The ID... | 3 | 1 | 22 | 3 | 20 | 0 | 1 | 0.43 | 1 | 7 | 1 | 0 | 2 | 9 | 2 | 3 | 77 | 10 | 47 | 28 | 31 | 20 | 17 | 15 | 14 | 1 | 2 | 0 | 2 |
8,353 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataform.py | google.cloud.operators.dataform.DataformMakeDirectoryOperator | from google.cloud.dataform_v1beta1.types import CompilationResult, InstallNpmPackagesResponse, MakeDirectoryResponse, Repository, WorkflowInvocation, WorkflowInvocationAction, Workspace, WriteFileResponse
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.operators.c... |
class DataformMakeDirectoryOperator(GoogleCloudBaseOperator):
'''
Makes new directory in specified workspace.
:param project_id: Required. The ID of the Google Cloud project where workspace located.
:param region: Required. The ID of the Google Cloud region where workspace located.
:param repositor... | 3 | 1 | 24 | 3 | 21 | 0 | 1 | 0.4 | 1 | 7 | 1 | 0 | 2 | 10 | 2 | 3 | 79 | 9 | 50 | 30 | 33 | 20 | 18 | 16 | 15 | 1 | 2 | 0 | 2 |
8,354 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataform.py | google.cloud.operators.dataform.DataformQueryWorkflowInvocationActionsOperator | 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.dataform import DataformHook
from google.cloud.dataform_v1beta1.types import Compilat... |
class DataformQueryWorkflowInvocationActionsOperator(GoogleCloudBaseOperator):
'''
Returns WorkflowInvocationActions in a given WorkflowInvocation.
:param project_id: Required. The ID of the Google Cloud project that the task belongs to.
:param region: Required. The ID of the Google Cloud region that t... | 3 | 1 | 25 | 0 | 25 | 0 | 1 | 0.33 | 1 | 7 | 2 | 0 | 2 | 9 | 2 | 3 | 81 | 4 | 58 | 30 | 42 | 19 | 21 | 17 | 18 | 1 | 2 | 0 | 2 |
8,355 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataform.py | google.cloud.operators.dataform.DataformRemoveDirectoryOperator | 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.dataform import DataformHook
class DataformRemoveDirectoryOperator(GoogleCloudBaseOp... |
class DataformRemoveDirectoryOperator(GoogleCloudBaseOperator):
'''
Removes directory in specified workspace.
:param project_id: Required. The ID of the Google Cloud project where workspace located.
:param region: Required. The ID of the Google Cloud region where workspace located.
:param repositor... | 3 | 1 | 23 | 2 | 21 | 0 | 1 | 0.41 | 1 | 6 | 1 | 0 | 2 | 10 | 2 | 3 | 77 | 8 | 49 | 29 | 32 | 20 | 17 | 15 | 14 | 1 | 2 | 0 | 2 |
8,356 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataform.py | google.cloud.operators.dataform.DataformRemoveFileOperator | from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from collections.abc import Sequence
from airflow.providers.google.cloud.hooks.dataform import DataformHook
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
class DataformRemoveFileOperator(GoogleCloudBaseOperato... |
class DataformRemoveFileOperator(GoogleCloudBaseOperator):
'''
Removes file in specified workspace.
:param project_id: Required. The ID of the Google Cloud project where workspace located.
:param region: Required. The ID of the Google Cloud region where workspace located.
:param repository_id: Requ... | 3 | 1 | 23 | 2 | 21 | 0 | 1 | 0.41 | 1 | 6 | 1 | 0 | 2 | 10 | 2 | 3 | 77 | 8 | 49 | 29 | 32 | 20 | 17 | 15 | 14 | 1 | 2 | 0 | 2 |
8,357 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataform.py | google.cloud.operators.dataform.DataformWriteFileOperator | from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from google.cloud.dataform_v1beta1.types import CompilationResult, InstallNpmPackagesResponse, MakeDirectoryResponse, Repository, WorkflowInvocation, WorkflowInvocationAction, Workspace, WriteFileResponse
from airflow.providers.google.cloud.hooks.dataf... |
class DataformWriteFileOperator(GoogleCloudBaseOperator):
'''
Writes new file to specified workspace.
:param project_id: Required. The ID of the Google Cloud project where workspace located.
:param region: Required. The ID of the Google Cloud region where workspace located.
:param repository_id: Re... | 3 | 1 | 24 | 2 | 23 | 0 | 1 | 0.4 | 1 | 8 | 1 | 0 | 2 | 11 | 2 | 3 | 81 | 7 | 53 | 32 | 35 | 21 | 19 | 17 | 16 | 1 | 2 | 0 | 2 |
8,358 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/datafusion.py | google.cloud.operators.datafusion.CloudDataFusionCreateInstanceOperator | from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.providers.google.cloud.links.datafusion import DataFusionInstanceLink, DataFusionPipelineLink, DataFusionPipelinesLink
from airflow.providers.google.cloud.utils.helpers import resource_path_to_dict
import time
from typing impo... |
class CloudDataFusionCreateInstanceOperator(GoogleCloudBaseOperator):
'''
Creates a new Data Fusion instance in the specified project and location.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudDataFusionCreateInstanceOper... | 3 | 1 | 31 | 1 | 30 | 1 | 3 | 0.33 | 1 | 7 | 2 | 0 | 2 | 7 | 2 | 3 | 94 | 6 | 66 | 29 | 52 | 22 | 32 | 17 | 29 | 5 | 2 | 3 | 6 |
8,359 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/datafusion.py | google.cloud.operators.datafusion.CloudDataFusionCreatePipelineOperator | from airflow.providers.google.cloud.hooks.datafusion import SUCCESS_STATES, DataFusionHook, PipelineStates
from airflow.providers.google.cloud.links.datafusion import DataFusionInstanceLink, DataFusionPipelineLink, DataFusionPipelinesLink
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOp... |
class CloudDataFusionCreatePipelineOperator(GoogleCloudBaseOperator):
'''
Creates a Cloud Data Fusion pipeline.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudDataFusionCreatePipelineOperator`
:param pipeline_name: Your... | 3 | 1 | 26 | 0 | 26 | 0 | 1 | 0.41 | 1 | 7 | 2 | 0 | 2 | 9 | 2 | 3 | 88 | 6 | 58 | 30 | 42 | 24 | 22 | 17 | 19 | 1 | 2 | 0 | 2 |
8,360 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/datafusion.py | google.cloud.operators.datafusion.CloudDataFusionDeleteInstanceOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.cloud.hooks.datafusion import SUCCESS_STATES, DataFusionHook, PipelineStates
from collections.abc import Sequence
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
class ... |
class CloudDataFusionDeleteInstanceOperator(GoogleCloudBaseOperator):
'''
Deletes a single Date Fusion instance.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudDataFusionDeleteInstanceOperator`
:param instance_name: The... | 3 | 1 | 16 | 0 | 16 | 0 | 1 | 0.51 | 1 | 4 | 1 | 0 | 2 | 6 | 2 | 3 | 61 | 5 | 37 | 22 | 24 | 19 | 16 | 12 | 13 | 1 | 2 | 0 | 2 |
8,361 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/datafusion.py | google.cloud.operators.datafusion.CloudDataFusionDeletePipelineOperator | from collections.abc import Sequence
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.providers.google.cloud.hooks.datafusion import SUCCESS_STATES, DataFusionHook, PipelineStates
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
class ... |
class CloudDataFusionDeletePipelineOperator(GoogleCloudBaseOperator):
'''
Deletes a Cloud Data Fusion pipeline.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudDataFusionDeletePipelineOperator`
:param pipeline_name: Your... | 3 | 1 | 22 | 0 | 22 | 0 | 1 | 0.45 | 1 | 4 | 1 | 0 | 2 | 9 | 2 | 3 | 79 | 5 | 51 | 29 | 35 | 23 | 20 | 16 | 17 | 1 | 2 | 0 | 2 |
8,362 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/datafusion.py | google.cloud.operators.datafusion.CloudDataFusionGetInstanceOperator | from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from collections.abc import Sequence
from airflow.providers.google.cloud.hooks.datafusion import SUCCESS_STATES, DataFusionHook, PipelineStates
from airflow.providers.google.cloud.utils.helpers import resource_path_to_dict
from airflow.pro... |
class CloudDataFusionGetInstanceOperator(GoogleCloudBaseOperator):
'''
Gets details of a single Data Fusion instance.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudDataFusionGetInstanceOperator`
:param instance_name: T... | 3 | 1 | 20 | 1 | 20 | 0 | 1 | 0.42 | 1 | 6 | 2 | 0 | 2 | 6 | 2 | 3 | 70 | 6 | 45 | 24 | 32 | 19 | 18 | 14 | 15 | 1 | 2 | 0 | 2 |
8,363 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/datafusion.py | google.cloud.operators.datafusion.CloudDataFusionListPipelinesOperator | from airflow.providers.google.cloud.links.datafusion import DataFusionInstanceLink, DataFusionPipelineLink, DataFusionPipelinesLink
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc import Sequence
from airflow.providers.google.common.hooks.base_google import P... |
class CloudDataFusionListPipelinesOperator(GoogleCloudBaseOperator):
'''
Lists Cloud Data Fusion pipelines.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudDataFusionListPipelinesOperator`
:param instance_name: The name... | 3 | 1 | 27 | 1 | 26 | 0 | 1 | 0.38 | 1 | 6 | 2 | 0 | 2 | 9 | 2 | 3 | 90 | 7 | 60 | 32 | 44 | 23 | 24 | 19 | 21 | 1 | 2 | 0 | 2 |
8,364 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/datafusion.py | google.cloud.operators.datafusion.CloudDataFusionRestartInstanceOperator | from airflow.providers.google.cloud.links.datafusion import DataFusionInstanceLink, DataFusionPipelineLink, DataFusionPipelinesLink
from airflow.providers.google.cloud.hooks.datafusion import SUCCESS_STATES, DataFusionHook, PipelineStates
from collections.abc import Sequence
from airflow.providers.google.cloud.utils.he... |
class CloudDataFusionRestartInstanceOperator(GoogleCloudBaseOperator):
'''
Restart a single Data Fusion instance.
At the end of an operation instance is fully restarted.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudDa... | 3 | 1 | 21 | 1 | 20 | 0 | 1 | 0.43 | 1 | 5 | 2 | 0 | 2 | 6 | 2 | 3 | 73 | 7 | 46 | 25 | 33 | 20 | 19 | 15 | 16 | 1 | 2 | 0 | 2 |
8,365 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/datafusion.py | google.cloud.operators.datafusion.CloudDataFusionStartPipelineOperator | from typing import TYPE_CHECKING, Any
from airflow.configuration import conf
from airflow.providers.google.cloud.hooks.datafusion import SUCCESS_STATES, DataFusionHook, PipelineStates
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.providers.google.cloud.triggers.datafusion... |
class CloudDataFusionStartPipelineOperator(GoogleCloudBaseOperator):
'''
Starts a Cloud Data Fusion pipeline. Works for both batch and stream pipelines.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudDataFusionStartPipeline... | 4 | 2 | 40 | 1 | 36 | 2 | 3 | 0.36 | 1 | 14 | 6 | 0 | 3 | 15 | 3 | 4 | 169 | 10 | 117 | 44 | 94 | 42 | 44 | 25 | 40 | 4 | 2 | 2 | 8 |
8,366 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/datafusion.py | google.cloud.operators.datafusion.CloudDataFusionStopPipelineOperator | from airflow.providers.google.cloud.hooks.datafusion import SUCCESS_STATES, DataFusionHook, PipelineStates
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc import Sequence
from airflow.providers.google.cloud.links.datafusion import DataFusionInstanceLink, Data... |
class CloudDataFusionStopPipelineOperator(GoogleCloudBaseOperator):
'''
Stops a Cloud Data Fusion pipeline. Works for both batch and stream pipelines.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudDataFusionStopPipelineOpe... | 3 | 1 | 25 | 1 | 24 | 0 | 1 | 0.4 | 1 | 5 | 2 | 0 | 2 | 8 | 2 | 3 | 83 | 6 | 55 | 28 | 40 | 22 | 21 | 16 | 18 | 1 | 2 | 0 | 2 |
8,367 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/datafusion.py | google.cloud.operators.datafusion.CloudDataFusionUpdateInstanceOperator | from airflow.providers.google.cloud.links.datafusion import DataFusionInstanceLink, DataFusionPipelineLink, DataFusionPipelinesLink
from airflow.providers.google.cloud.hooks.datafusion import SUCCESS_STATES, DataFusionHook, PipelineStates
from airflow.providers.google.cloud.utils.helpers import resource_path_to_dict
fr... |
class CloudDataFusionUpdateInstanceOperator(GoogleCloudBaseOperator):
'''
Updates a single Data Fusion instance.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudDataFusionUpdateInstanceOperator`
:param instance_name: The... | 3 | 1 | 24 | 1 | 23 | 0 | 1 | 0.51 | 1 | 7 | 2 | 0 | 2 | 8 | 2 | 3 | 86 | 6 | 53 | 29 | 38 | 27 | 21 | 17 | 18 | 1 | 2 | 0 | 2 |
8,368 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataplex.py | google.cloud.operators.dataplex.DataplexCatalogBaseOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc import MutableSequence, Sequence
from airflow.providers.google.cloud.hooks.dataplex import AirflowDataQualityScanException, DataplexHook
from google.api_core.retry import Retry, exponential_sleep_generator
from ... |
class DataplexCatalogBaseOperator(GoogleCloudBaseOperator):
'''
Base class for all Dataplex Catalog operators.
:param project_id: Required. The ID of the Google Cloud project where the service is used.
:param location: Required. The ID of the Google Cloud region where the service is used.
:param gc... | 6 | 1 | 13 | 0 | 13 | 0 | 1 | 0.58 | 1 | 6 | 1 | 15 | 2 | 7 | 2 | 3 | 56 | 4 | 33 | 23 | 18 | 19 | 13 | 11 | 10 | 1 | 2 | 0 | 2 |
8,369 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataplex.py | google.cloud.operators.dataplex.DataplexCatalogCreateAspectTypeOperator | from airflow.providers.google.cloud.links.dataplex import DataplexCatalogAspectTypeLink, DataplexCatalogAspectTypesLink, DataplexCatalogEntryGroupLink, DataplexCatalogEntryGroupsLink, DataplexCatalogEntryLink, DataplexCatalogEntryTypeLink, DataplexCatalogEntryTypesLink, DataplexLakeLink, DataplexTaskLink, DataplexTasks... |
class DataplexCatalogCreateAspectTypeOperator(DataplexCatalogBaseOperator):
'''
Create an AspectType resource.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:DataplexCatalogCreateAspectTypeOperator`
:param aspect_type_id: Re... | 5 | 1 | 28 | 2 | 26 | 0 | 4 | 0.49 | 1 | 7 | 2 | 0 | 2 | 7 | 2 | 5 | 93 | 8 | 57 | 23 | 47 | 28 | 28 | 11 | 25 | 6 | 3 | 1 | 7 |
8,370 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataplex.py | google.cloud.operators.dataplex.DataplexCatalogCreateEntryGroupOperator | from airflow.providers.google.cloud.links.dataplex import DataplexCatalogAspectTypeLink, DataplexCatalogAspectTypesLink, DataplexCatalogEntryGroupLink, DataplexCatalogEntryGroupsLink, DataplexCatalogEntryLink, DataplexCatalogEntryTypeLink, DataplexCatalogEntryTypesLink, DataplexLakeLink, DataplexTaskLink, DataplexTasks... |
class DataplexCatalogCreateEntryGroupOperator(DataplexCatalogBaseOperator):
'''
Create an EntryGroup resource.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:DataplexCatalogCreateEntryGroupOperator`
:param entry_group_id: Re... | 5 | 1 | 28 | 2 | 26 | 0 | 4 | 0.49 | 1 | 7 | 2 | 0 | 2 | 7 | 2 | 5 | 93 | 8 | 57 | 23 | 47 | 28 | 28 | 11 | 25 | 6 | 3 | 1 | 7 |
8,371 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataplex.py | google.cloud.operators.dataplex.DataplexCatalogCreateEntryTypeOperator | from airflow.providers.google.cloud.links.dataplex import DataplexCatalogAspectTypeLink, DataplexCatalogAspectTypesLink, DataplexCatalogEntryGroupLink, DataplexCatalogEntryGroupsLink, DataplexCatalogEntryLink, DataplexCatalogEntryTypeLink, DataplexCatalogEntryTypesLink, DataplexLakeLink, DataplexTaskLink, DataplexTasks... |
class DataplexCatalogCreateEntryTypeOperator(DataplexCatalogBaseOperator):
'''
Create an EntryType resource.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:DataplexCatalogCreateEntryTypeOperator`
:param entry_type_id: Requir... | 5 | 1 | 28 | 2 | 26 | 0 | 4 | 0.49 | 1 | 7 | 2 | 0 | 2 | 7 | 2 | 5 | 93 | 8 | 57 | 23 | 47 | 28 | 28 | 11 | 25 | 6 | 3 | 1 | 7 |
8,372 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataplex.py | google.cloud.operators.dataplex.DataplexCatalogDeleteAspectTypeOperator | from collections.abc import MutableSequence, Sequence
from google.api_core.exceptions import AlreadyExists, GoogleAPICallError, NotFound
from airflow.exceptions import AirflowException
class DataplexCatalogDeleteAspectTypeOperator(DataplexCatalogBaseOperator):
"""
Delete an AspectType resource.
.. seealso... |
class DataplexCatalogDeleteAspectTypeOperator(DataplexCatalogBaseOperator):
'''
Delete an AspectType resource.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:DataplexCatalogDeleteAspectTypeOperator`
:param aspect_type_id: Re... | 3 | 1 | 17 | 1 | 16 | 0 | 2 | 0.64 | 1 | 4 | 1 | 0 | 2 | 5 | 2 | 5 | 65 | 6 | 36 | 16 | 28 | 23 | 16 | 6 | 13 | 3 | 3 | 1 | 4 |
8,373 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataplex.py | google.cloud.operators.dataplex.DataplexCatalogDeleteEntryGroupOperator | from collections.abc import MutableSequence, Sequence
from google.api_core.exceptions import AlreadyExists, GoogleAPICallError, NotFound
from airflow.exceptions import AirflowException
class DataplexCatalogDeleteEntryGroupOperator(DataplexCatalogBaseOperator):
"""
Delete an EntryGroup resource.
.. seealso... |
class DataplexCatalogDeleteEntryGroupOperator(DataplexCatalogBaseOperator):
'''
Delete an EntryGroup resource.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:DataplexCatalogDeleteEntryGroupOperator`
:param entry_group_id: Re... | 3 | 1 | 17 | 1 | 16 | 0 | 2 | 0.64 | 1 | 4 | 1 | 0 | 2 | 5 | 2 | 5 | 65 | 6 | 36 | 16 | 28 | 23 | 16 | 6 | 13 | 3 | 3 | 1 | 4 |
8,374 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataplex.py | google.cloud.operators.dataplex.DataplexCatalogDeleteEntryTypeOperator | from collections.abc import MutableSequence, Sequence
from google.api_core.exceptions import AlreadyExists, GoogleAPICallError, NotFound
from airflow.exceptions import AirflowException
class DataplexCatalogDeleteEntryTypeOperator(DataplexCatalogBaseOperator):
"""
Delete an EntryType resource.
.. seealso::... |
class DataplexCatalogDeleteEntryTypeOperator(DataplexCatalogBaseOperator):
'''
Delete an EntryType resource.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:DataplexCatalogDeleteEntryTypeOperator`
:param entry_type_id: Requir... | 3 | 1 | 17 | 1 | 16 | 0 | 2 | 0.64 | 1 | 4 | 1 | 0 | 2 | 5 | 2 | 5 | 65 | 6 | 36 | 16 | 28 | 23 | 16 | 6 | 13 | 3 | 3 | 1 | 4 |
8,375 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataplex.py | google.cloud.operators.dataplex.DataplexCatalogGetAspectTypeOperator | from airflow.providers.google.cloud.links.dataplex import DataplexCatalogAspectTypeLink, DataplexCatalogAspectTypesLink, DataplexCatalogEntryGroupLink, DataplexCatalogEntryGroupsLink, DataplexCatalogEntryLink, DataplexCatalogEntryTypeLink, DataplexCatalogEntryTypesLink, DataplexLakeLink, DataplexTaskLink, DataplexTasks... |
class DataplexCatalogGetAspectTypeOperator(DataplexCatalogBaseOperator):
'''
Get an AspectType resource.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:DataplexCatalogGetAspectTypeOperator`
:param aspect_type_id: Required. A... | 5 | 1 | 18 | 1 | 18 | 0 | 2 | 0.57 | 1 | 5 | 2 | 0 | 2 | 5 | 2 | 5 | 69 | 6 | 40 | 17 | 32 | 23 | 17 | 7 | 14 | 3 | 3 | 1 | 4 |
8,376 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataplex.py | google.cloud.operators.dataplex.DataplexCatalogGetEntryGroupOperator | from airflow.providers.google.cloud.links.dataplex import DataplexCatalogAspectTypeLink, DataplexCatalogAspectTypesLink, DataplexCatalogEntryGroupLink, DataplexCatalogEntryGroupsLink, DataplexCatalogEntryLink, DataplexCatalogEntryTypeLink, DataplexCatalogEntryTypesLink, DataplexLakeLink, DataplexTaskLink, DataplexTasks... |
class DataplexCatalogGetEntryGroupOperator(DataplexCatalogBaseOperator):
'''
Get an EntryGroup resource.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:DataplexCatalogGetEntryGroupOperator`
:param entry_group_id: Required. E... | 5 | 1 | 18 | 1 | 18 | 0 | 2 | 0.57 | 1 | 5 | 2 | 0 | 2 | 5 | 2 | 5 | 69 | 6 | 40 | 17 | 32 | 23 | 17 | 7 | 14 | 3 | 3 | 1 | 4 |
8,377 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataplex.py | google.cloud.operators.dataplex.DataplexCatalogGetEntryTypeOperator | from airflow.providers.google.cloud.links.dataplex import DataplexCatalogAspectTypeLink, DataplexCatalogAspectTypesLink, DataplexCatalogEntryGroupLink, DataplexCatalogEntryGroupsLink, DataplexCatalogEntryLink, DataplexCatalogEntryTypeLink, DataplexCatalogEntryTypesLink, DataplexLakeLink, DataplexTaskLink, DataplexTasks... |
class DataplexCatalogGetEntryTypeOperator(DataplexCatalogBaseOperator):
'''
Get an EntryType resource.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:DataplexCatalogGetEntryTypeOperator`
:param entry_type_id: Required. Entry... | 5 | 1 | 18 | 1 | 18 | 0 | 2 | 0.57 | 1 | 5 | 2 | 0 | 2 | 5 | 2 | 5 | 69 | 6 | 40 | 17 | 32 | 23 | 17 | 7 | 14 | 3 | 3 | 1 | 4 |
8,378 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataplex.py | google.cloud.operators.dataplex.DataplexCatalogListAspectTypesOperator | from airflow.providers.google.cloud.links.dataplex import DataplexCatalogAspectTypeLink, DataplexCatalogAspectTypesLink, DataplexCatalogEntryGroupLink, DataplexCatalogEntryGroupsLink, DataplexCatalogEntryLink, DataplexCatalogEntryTypeLink, DataplexCatalogEntryTypesLink, DataplexLakeLink, DataplexTaskLink, DataplexTasks... |
class DataplexCatalogListAspectTypesOperator(DataplexCatalogBaseOperator):
'''
List AspectType resources.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:DataplexCatalogListAspectTypesOperator`
:param filter_by: Optional. Fil... | 3 | 1 | 25 | 1 | 24 | 1 | 2 | 0.53 | 1 | 6 | 2 | 0 | 2 | 8 | 2 | 5 | 84 | 6 | 51 | 24 | 40 | 27 | 20 | 11 | 17 | 2 | 3 | 1 | 3 |
8,379 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataplex.py | google.cloud.operators.dataplex.DataplexCatalogListEntryGroupsOperator | from airflow.providers.google.cloud.links.dataplex import DataplexCatalogAspectTypeLink, DataplexCatalogAspectTypesLink, DataplexCatalogEntryGroupLink, DataplexCatalogEntryGroupsLink, DataplexCatalogEntryLink, DataplexCatalogEntryTypeLink, DataplexCatalogEntryTypesLink, DataplexLakeLink, DataplexTaskLink, DataplexTasks... |
class DataplexCatalogListEntryGroupsOperator(DataplexCatalogBaseOperator):
'''
List EntryGroup resources.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:DataplexCatalogListEntryGroupsOperator`
:param filter_by: Optional. Fil... | 3 | 1 | 25 | 1 | 24 | 1 | 2 | 0.53 | 1 | 6 | 2 | 0 | 2 | 8 | 2 | 5 | 84 | 6 | 51 | 24 | 40 | 27 | 20 | 11 | 17 | 2 | 3 | 1 | 3 |
8,380 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataplex.py | google.cloud.operators.dataplex.DataplexCatalogListEntryTypesOperator | from airflow.providers.google.cloud.links.dataplex import DataplexCatalogAspectTypeLink, DataplexCatalogAspectTypesLink, DataplexCatalogEntryGroupLink, DataplexCatalogEntryGroupsLink, DataplexCatalogEntryLink, DataplexCatalogEntryTypeLink, DataplexCatalogEntryTypesLink, DataplexLakeLink, DataplexTaskLink, DataplexTasks... |
class DataplexCatalogListEntryTypesOperator(DataplexCatalogBaseOperator):
'''
List EntryType resources.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:DataplexCatalogListEntryTypesOperator`
:param filter_by: Optional. Filter... | 3 | 1 | 25 | 1 | 24 | 1 | 2 | 0.53 | 1 | 6 | 2 | 0 | 2 | 8 | 2 | 5 | 84 | 6 | 51 | 24 | 40 | 27 | 20 | 11 | 17 | 2 | 3 | 1 | 3 |
8,381 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataplex.py | google.cloud.operators.dataplex.DataplexCatalogUpdateAspectTypeOperator | from airflow.providers.google.cloud.links.dataplex import DataplexCatalogAspectTypeLink, DataplexCatalogAspectTypesLink, DataplexCatalogEntryGroupLink, DataplexCatalogEntryGroupsLink, DataplexCatalogEntryLink, DataplexCatalogEntryTypeLink, DataplexCatalogEntryTypesLink, DataplexLakeLink, DataplexTaskLink, DataplexTasks... |
class DataplexCatalogUpdateAspectTypeOperator(DataplexCatalogBaseOperator):
'''
Update an AspectType resource.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:DataplexCatalogUpdateAspectTypeOperator`
:param project_id: Requir... | 5 | 1 | 26 | 2 | 25 | 0 | 4 | 0.55 | 1 | 8 | 2 | 0 | 2 | 8 | 2 | 5 | 93 | 8 | 55 | 26 | 44 | 30 | 27 | 12 | 24 | 6 | 3 | 1 | 7 |
8,382 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataplex.py | google.cloud.operators.dataplex.DataplexCatalogUpdateEntryGroupOperator | from airflow.providers.google.cloud.links.dataplex import DataplexCatalogAspectTypeLink, DataplexCatalogAspectTypesLink, DataplexCatalogEntryGroupLink, DataplexCatalogEntryGroupsLink, DataplexCatalogEntryLink, DataplexCatalogEntryTypeLink, DataplexCatalogEntryTypesLink, DataplexLakeLink, DataplexTaskLink, DataplexTasks... |
class DataplexCatalogUpdateEntryGroupOperator(DataplexCatalogBaseOperator):
'''
Update an EntryGroup resource.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:DataplexCatalogUpdateEntryGroupOperator`
:param project_id: Requir... | 5 | 1 | 26 | 2 | 25 | 0 | 4 | 0.55 | 1 | 8 | 2 | 0 | 2 | 8 | 2 | 5 | 93 | 8 | 55 | 26 | 44 | 30 | 27 | 12 | 24 | 6 | 3 | 1 | 7 |
8,383 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataplex.py | google.cloud.operators.dataplex.DataplexCatalogUpdateEntryTypeOperator | from airflow.providers.google.cloud.links.dataplex import DataplexCatalogAspectTypeLink, DataplexCatalogAspectTypesLink, DataplexCatalogEntryGroupLink, DataplexCatalogEntryGroupsLink, DataplexCatalogEntryLink, DataplexCatalogEntryTypeLink, DataplexCatalogEntryTypesLink, DataplexLakeLink, DataplexTaskLink, DataplexTasks... |
class DataplexCatalogUpdateEntryTypeOperator(DataplexCatalogBaseOperator):
'''
Update an EntryType resource.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:DataplexCatalogUpdateEntryTypeOperator`
:param project_id: Required.... | 5 | 1 | 26 | 2 | 25 | 0 | 4 | 0.55 | 1 | 8 | 2 | 0 | 2 | 8 | 2 | 5 | 93 | 8 | 55 | 26 | 44 | 30 | 27 | 12 | 24 | 6 | 3 | 1 | 7 |
8,384 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataplex.py | google.cloud.operators.dataplex.DataplexCreateAssetOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc import MutableSequence, Sequence
from google.api_core.exceptions import AlreadyExists, GoogleAPICallError, NotFound
from airflow.exceptions import AirflowException
from google.cloud.dataplex_v1.types import Aspe... |
class DataplexCreateAssetOperator(GoogleCloudBaseOperator):
'''
Creates an Asset resource.
:param project_id: Required. The ID of the Google Cloud project that the task belongs to.
:param region: Required. The ID of the Google Cloud region that the task belongs to.
:param lake_id: Required. The ID ... | 3 | 1 | 28 | 1 | 27 | 0 | 2 | 0.4 | 1 | 9 | 2 | 0 | 2 | 12 | 2 | 3 | 93 | 5 | 63 | 37 | 44 | 25 | 27 | 20 | 24 | 2 | 2 | 1 | 3 |
8,385 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataplex.py | google.cloud.operators.dataplex.DataplexCreateLakeOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.cloud.links.dataplex import DataplexCatalogAspectTypeLink, DataplexCatalogAspectTypesLink, DataplexCatalogEntryGroupLink, DataplexCatalogEntryGroupsLink, DataplexCatalogEntryLink, DataplexCatalogEntryTy... |
class DataplexCreateLakeOperator(GoogleCloudBaseOperator):
'''
Creates a lake resource within a lake.
:param project_id: Required. The ID of the Google Cloud project that the lake belongs to.
:param region: Required. The ID of the Google Cloud region that the lake belongs to.
:param lake_id: Requir... | 5 | 1 | 40 | 1 | 39 | 1 | 4 | 0.31 | 1 | 10 | 2 | 0 | 2 | 12 | 2 | 3 | 119 | 5 | 87 | 40 | 68 | 27 | 41 | 23 | 38 | 6 | 2 | 3 | 7 |
8,386 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataplex.py | google.cloud.operators.dataplex.DataplexCreateOrUpdateDataProfileScanOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc import MutableSequence, Sequence
from google.api_core.exceptions import AlreadyExists, GoogleAPICallError, NotFound
from airflow.exceptions import AirflowException
from google.cloud.dataplex_v1.types import Aspe... |
class DataplexCreateOrUpdateDataProfileScanOperator(GoogleCloudBaseOperator):
'''
Creates a DataScan Data Profile resource.
:param project_id: Required. The ID of the Google Cloud project that the lake belongs to.
:param region: Required. The ID of the Google Cloud region that the lake belongs to.
... | 3 | 1 | 34 | 2 | 32 | 0 | 2 | 0.36 | 1 | 9 | 2 | 0 | 2 | 11 | 2 | 3 | 99 | 8 | 67 | 34 | 49 | 24 | 31 | 18 | 28 | 3 | 2 | 1 | 4 |
8,387 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataplex.py | google.cloud.operators.dataplex.DataplexCreateOrUpdateDataQualityScanOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc import MutableSequence, Sequence
from google.api_core.exceptions import AlreadyExists, GoogleAPICallError, NotFound
from airflow.exceptions import AirflowException
from google.cloud.dataplex_v1.types import Aspe... |
class DataplexCreateOrUpdateDataQualityScanOperator(GoogleCloudBaseOperator):
'''
Creates a DataScan resource.
:param project_id: Required. The ID of the Google Cloud project that the lake belongs to.
:param region: Required. The ID of the Google Cloud region that the lake belongs to.
:param body: ... | 4 | 1 | 24 | 1 | 23 | 0 | 2 | 0.33 | 1 | 9 | 2 | 0 | 3 | 11 | 3 | 4 | 104 | 8 | 72 | 36 | 53 | 24 | 35 | 20 | 31 | 4 | 2 | 2 | 6 |
8,388 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataplex.py | google.cloud.operators.dataplex.DataplexCreateTaskOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.cloud.links.dataplex import DataplexCatalogAspectTypeLink, DataplexCatalogAspectTypesLink, DataplexCatalogEntryGroupLink, DataplexCatalogEntryGroupsLink, DataplexCatalogEntryLink, DataplexCatalogEntryTy... |
class DataplexCreateTaskOperator(GoogleCloudBaseOperator):
'''
Creates a task resource within a lake.
:param project_id: Required. The ID of the Google Cloud project that the task belongs to.
:param region: Required. The ID of the Google Cloud region that the task belongs to.
:param lake_id: Requir... | 5 | 1 | 41 | 1 | 39 | 1 | 4 | 0.33 | 1 | 10 | 2 | 0 | 2 | 13 | 2 | 3 | 123 | 6 | 88 | 42 | 68 | 29 | 42 | 24 | 39 | 6 | 2 | 3 | 7 |
8,389 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataplex.py | google.cloud.operators.dataplex.DataplexCreateZoneOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc import MutableSequence, Sequence
from google.api_core.exceptions import AlreadyExists, GoogleAPICallError, NotFound
from airflow.exceptions import AirflowException
from google.cloud.dataplex_v1.types import Aspe... |
class DataplexCreateZoneOperator(GoogleCloudBaseOperator):
'''
Creates a Zone resource within a Lake.
:param project_id: Required. The ID of the Google Cloud project that the task belongs to.
:param region: Required. The ID of the Google Cloud region that the task belongs to.
:param lake_id: Requir... | 3 | 1 | 27 | 2 | 26 | 0 | 2 | 0.4 | 1 | 9 | 2 | 0 | 2 | 11 | 2 | 3 | 92 | 8 | 60 | 35 | 42 | 24 | 26 | 19 | 23 | 2 | 2 | 1 | 3 |
8,390 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataplex.py | google.cloud.operators.dataplex.DataplexDeleteAssetOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc import MutableSequence, Sequence
from airflow.providers.google.cloud.hooks.dataplex import AirflowDataQualityScanException, DataplexHook
from google.api_core.retry import Retry, exponential_sleep_generator
from ... |
class DataplexDeleteAssetOperator(GoogleCloudBaseOperator):
'''
Deletes an asset resource.
:param project_id: Required. The ID of the Google Cloud project that the task belongs to.
:param region: Required. The ID of the Google Cloud region that the task belongs to.
:param lake_id: Required. The ID ... | 3 | 1 | 24 | 1 | 24 | 0 | 1 | 0.44 | 1 | 6 | 1 | 0 | 2 | 11 | 2 | 3 | 84 | 6 | 54 | 32 | 36 | 24 | 21 | 17 | 18 | 1 | 2 | 0 | 2 |
8,391 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataplex.py | google.cloud.operators.dataplex.DataplexDeleteDataProfileScanOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc import MutableSequence, Sequence
from airflow.providers.google.cloud.hooks.dataplex import AirflowDataQualityScanException, DataplexHook
from google.api_core.retry import Retry, exponential_sleep_generator
from ... |
class DataplexDeleteDataProfileScanOperator(GoogleCloudBaseOperator):
'''
Deletes a DataScan DataProfile resource.
:param project_id: Required. The ID of the Google Cloud project that the lake belongs to.
:param region: Required. The ID of the Google Cloud region that the lake belongs to.
:param da... | 3 | 1 | 22 | 1 | 21 | 0 | 1 | 0.51 | 1 | 6 | 1 | 0 | 2 | 9 | 2 | 3 | 71 | 6 | 43 | 28 | 27 | 22 | 19 | 15 | 16 | 1 | 2 | 0 | 2 |
8,392 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataplex.py | google.cloud.operators.dataplex.DataplexDeleteDataQualityScanOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc import MutableSequence, Sequence
from airflow.providers.google.cloud.hooks.dataplex import AirflowDataQualityScanException, DataplexHook
from google.api_core.retry import Retry, exponential_sleep_generator
from ... |
class DataplexDeleteDataQualityScanOperator(GoogleCloudBaseOperator):
'''
Deletes a DataScan resource.
:param project_id: Required. The ID of the Google Cloud project that the lake belongs to.
:param region: Required. The ID of the Google Cloud region that the lake belongs to.
:param data_scan_id: ... | 3 | 1 | 22 | 1 | 21 | 0 | 1 | 0.51 | 1 | 6 | 1 | 0 | 2 | 9 | 2 | 3 | 72 | 7 | 43 | 28 | 27 | 22 | 19 | 15 | 16 | 1 | 2 | 0 | 2 |
8,393 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataplex.py | google.cloud.operators.dataplex.DataplexDeleteLakeOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.cloud.links.dataplex import DataplexCatalogAspectTypeLink, DataplexCatalogAspectTypesLink, DataplexCatalogEntryGroupLink, DataplexCatalogEntryGroupsLink, DataplexCatalogEntryLink, DataplexCatalogEntryTy... |
class DataplexDeleteLakeOperator(GoogleCloudBaseOperator):
'''
Delete the lake resource.
:param project_id: Required. The ID of the Google Cloud project that the lake belongs to.
:param region: Required. The ID of the Google Cloud region that the lake belongs to.
:param lake_id: Required. Lake iden... | 5 | 1 | 22 | 1 | 21 | 0 | 1 | 0.47 | 1 | 7 | 2 | 0 | 2 | 9 | 2 | 3 | 72 | 6 | 45 | 29 | 29 | 21 | 21 | 16 | 18 | 1 | 2 | 0 | 2 |
8,394 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataplex.py | google.cloud.operators.dataplex.DataplexDeleteTaskOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc import MutableSequence, Sequence
from airflow.providers.google.cloud.hooks.dataplex import AirflowDataQualityScanException, DataplexHook
from google.api_core.retry import Retry, exponential_sleep_generator
from ... |
class DataplexDeleteTaskOperator(GoogleCloudBaseOperator):
'''
Delete the task resource.
:param project_id: Required. The ID of the Google Cloud project that the task belongs to.
:param region: Required. The ID of the Google Cloud region that the task belongs to.
:param lake_id: Required. The ID of... | 3 | 1 | 23 | 1 | 22 | 0 | 1 | 0.48 | 1 | 6 | 1 | 0 | 2 | 10 | 2 | 3 | 73 | 5 | 46 | 30 | 29 | 22 | 20 | 16 | 17 | 1 | 2 | 0 | 2 |
8,395 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataplex.py | google.cloud.operators.dataplex.DataplexDeleteZoneOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc import MutableSequence, Sequence
from airflow.providers.google.cloud.hooks.dataplex import AirflowDataQualityScanException, DataplexHook
from google.api_core.retry import Retry, exponential_sleep_generator
from ... |
class DataplexDeleteZoneOperator(GoogleCloudBaseOperator):
'''
Deletes a Zone resource. All assets within a zone must be deleted before the zone can be deleted.
:param project_id: Required. The ID of the Google Cloud project that the task belongs to.
:param region: Required. The ID of the Google Cloud ... | 3 | 1 | 23 | 1 | 22 | 0 | 1 | 0.45 | 1 | 6 | 1 | 0 | 2 | 10 | 2 | 3 | 79 | 5 | 51 | 30 | 34 | 23 | 20 | 16 | 17 | 1 | 2 | 0 | 2 |
8,396 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataplex.py | google.cloud.operators.dataplex.DataplexGetDataProfileScanOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc import MutableSequence, Sequence
from google.cloud.dataplex_v1.types import AspectType, Asset, DataScan, DataScanJob, Entry, EntryGroup, EntryType, EntryView, Lake, ListAspectTypesResponse, ListEntriesResponse, ... |
class DataplexGetDataProfileScanOperator(GoogleCloudBaseOperator):
'''
Gets a DataScan DataProfile resource.
:param project_id: Required. The ID of the Google Cloud project that the lake belongs to.
:param region: Required. The ID of the Google Cloud region that the lake belongs to.
:param data_sca... | 3 | 1 | 21 | 1 | 20 | 0 | 1 | 0.52 | 1 | 6 | 1 | 0 | 2 | 9 | 2 | 3 | 71 | 7 | 42 | 28 | 26 | 22 | 18 | 15 | 15 | 1 | 2 | 0 | 2 |
8,397 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataplex.py | google.cloud.operators.dataplex.DataplexGetDataProfileScanResultOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc import MutableSequence, Sequence
from airflow.exceptions import AirflowException
from google.cloud.dataplex_v1.types import AspectType, Asset, DataScan, DataScanJob, Entry, EntryGroup, EntryType, EntryView, Lake... |
class DataplexGetDataProfileScanResultOperator(GoogleCloudBaseOperator):
'''
Gets a DataScan Data Profile Job resource.
:param project_id: Required. The ID of the Google Cloud project that the lake belongs to.
:param region: Required. The ID of the Google Cloud region that the lake belongs to.
:par... | 4 | 2 | 33 | 2 | 29 | 2 | 3 | 0.4 | 1 | 9 | 2 | 0 | 3 | 12 | 3 | 4 | 137 | 11 | 90 | 41 | 70 | 36 | 46 | 25 | 42 | 5 | 2 | 2 | 10 |
8,398 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataplex.py | google.cloud.operators.dataplex.DataplexGetDataQualityScanOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from google.cloud.dataplex_v1.types import AspectType, Asset, DataScan, DataScanJob, Entry, EntryGroup, EntryType, EntryView, Lake, ListAspectTypesResponse, ListEntriesResponse, ListEntryGroupsResponse, ListEntryTypesResponse, Searc... |
class DataplexGetDataQualityScanOperator(GoogleCloudBaseOperator):
'''
Gets a DataScan resource.
:param project_id: Required. The ID of the Google Cloud project that the lake belongs to.
:param region: Required. The ID of the Google Cloud region that the lake belongs to.
:param data_scan_id: Requir... | 3 | 1 | 21 | 1 | 20 | 0 | 1 | 0.52 | 1 | 6 | 1 | 0 | 2 | 9 | 2 | 3 | 71 | 7 | 42 | 28 | 26 | 22 | 18 | 15 | 15 | 1 | 2 | 0 | 2 |
8,399 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/dataplex.py | google.cloud.operators.dataplex.DataplexGetDataQualityScanResultOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.cloud.triggers.dataplex import DataplexDataProfileJobTrigger, DataplexDataQualityJobTrigger
from collections.abc import MutableSequence, Sequence
from airflow.exceptions import AirflowException
from goo... | null | 4 | 2 | 45 | 2 | 41 | 2 | 5 | 0.34 | 1 | 12 | 4 | 0 | 3 | 15 | 3 | 4 | 178 | 12 | 124 | 47 | 101 | 42 | 57 | 28 | 53 | 8 | 2 | 3 | 15 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.