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,500 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/kubernetes_engine.py | google.cloud.operators.kubernetes_engine.GKEDeleteJobOperator | from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.exceptions import AirflowException, AirflowProviderDeprecationWarning
from collections.abc import Sequence
class GKEDeleteJobOperator(GKEOperatorMixin, KubernetesDeleteJobOperator):
"""
Delete a Kubernetes job in the ... |
class GKEDeleteJobOperator(GKEOperatorMixin, KubernetesDeleteJobOperator):
'''
Delete a Kubernetes job in the specified Google Kubernetes Engine cluster.
This Operator assumes that the system has gcloud installed and has configured a
connection id with a service account.
The **minimum** required to... | 2 | 1 | 30 | 2 | 26 | 2 | 3 | 1.03 | 2 | 5 | 1 | 0 | 1 | 6 | 1 | 10 | 70 | 9 | 30 | 19 | 18 | 31 | 14 | 9 | 12 | 3 | 2 | 1 | 3 |
8,501 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/kubernetes_engine.py | google.cloud.operators.kubernetes_engine.GKEDescribeJobOperator | from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.cloud.links.kubernetes_engine import KubernetesEngineClusterLink, KubernetesEngineJobLink, KubernetesEnginePodLink, Kuber... |
class GKEDescribeJobOperator(GKEOperatorMixin, GoogleCloudBaseOperator):
'''
Retrieve information about Job by given name.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:GKEDescribeJobOperator`
:param job_name: The name of t... | 3 | 1 | 17 | 1 | 17 | 0 | 1 | 0.64 | 2 | 5 | 1 | 0 | 2 | 9 | 2 | 8 | 65 | 6 | 36 | 26 | 21 | 23 | 19 | 14 | 16 | 1 | 2 | 0 | 2 |
8,502 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/kubernetes_engine.py | google.cloud.operators.kubernetes_engine.GKEListJobsOperator | from kubernetes.client import V1JobList, models as k8s
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.providers.google.cloud.links.kubernetes_engine import KubernetesEngineClusterLink, ... |
class GKEListJobsOperator(GKEOperatorMixin, GoogleCloudBaseOperator):
'''
Retrieve list of Jobs.
If namespace parameter is specified, the list of Jobs from dedicated
namespace will be retrieved. If no namespace specified, it will output Jobs from all namespaces.
.. seealso::
For more inform... | 5 | 1 | 18 | 1 | 17 | 0 | 3 | 0.68 | 2 | 6 | 1 | 0 | 2 | 8 | 2 | 8 | 69 | 7 | 37 | 28 | 22 | 25 | 24 | 16 | 21 | 4 | 2 | 1 | 5 |
8,503 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/kubernetes_engine.py | google.cloud.operators.kubernetes_engine.GKEOperatorMixin | from airflow.providers.google.cloud.hooks.kubernetes_engine import GKEHook, GKEKubernetesHook
from collections.abc import Sequence
from functools import cached_property
class GKEOperatorMixin:
"""Mixin for GKE operators provides proper unified hooks creation."""
enable_tcp_keepalive = False
template_fields... |
class GKEOperatorMixin:
'''Mixin for GKE operators provides proper unified hooks creation.'''
@cached_property
def cluster_hook(self) -> GKEHook:
pass
@cached_property
def hook(self) -> GKEKubernetesHook:
pass
@cached_property
def cluster_info(self) -> tuple[str, str]:
... | 11 | 2 | 5 | 0 | 5 | 2 | 1 | 0.24 | 0 | 5 | 3 | 13 | 5 | 6 | 5 | 5 | 50 | 7 | 41 | 20 | 30 | 10 | 14 | 9 | 8 | 1 | 0 | 0 | 5 |
8,504 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/kubernetes_engine.py | google.cloud.operators.kubernetes_engine.GKEResumeJobOperator | from airflow.providers.google.cloud.links.kubernetes_engine import KubernetesEngineClusterLink, KubernetesEngineJobLink, KubernetesEnginePodLink, KubernetesEngineWorkloadsLink
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from collections.abc import Sequence
from kubernetes.client imp... |
class GKEResumeJobOperator(GKEOperatorMixin, GoogleCloudBaseOperator):
'''
Resume Job by given name.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:GKEResumeJobOperator`
:param name: The name of the Job to resume
:param ... | 3 | 1 | 19 | 1 | 18 | 0 | 1 | 0.59 | 2 | 5 | 1 | 0 | 2 | 9 | 2 | 8 | 69 | 7 | 39 | 26 | 24 | 23 | 19 | 14 | 16 | 1 | 2 | 0 | 2 |
8,505 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/kubernetes_engine.py | google.cloud.operators.kubernetes_engine.GKEStartJobOperator | from airflow.configuration import conf
from airflow.providers_manager import ProvidersManager
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.providers.cncf.kubernetes.operators.job import KubernetesJobOperator
from packaging.version import parse as parse_version
from airfl... |
class GKEStartJobOperator(GKEOperatorMixin, KubernetesJobOperator):
'''
Executes a Kubernetes job in the specified Google Kubernetes Engine cluster.
This Operator assumes that the system has gcloud installed and has configured a
connection id with a service account.
The **minimum** required to defi... | 4 | 2 | 20 | 0 | 18 | 2 | 2 | 0.63 | 2 | 8 | 3 | 0 | 3 | 13 | 3 | 59 | 107 | 10 | 62 | 35 | 46 | 39 | 26 | 18 | 22 | 3 | 3 | 2 | 6 |
8,506 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/kubernetes_engine.py | google.cloud.operators.kubernetes_engine.GKEStartKueueInsideClusterOperator | from airflow.providers.cncf.kubernetes.operators.kueue import KubernetesInstallKueueOperator, KubernetesStartKueueJobOperator
from collections.abc import Sequence
from typing import TYPE_CHECKING, Any
from airflow.providers.google.cloud.links.kubernetes_engine import KubernetesEngineClusterLink, KubernetesEngineJobLink... |
class GKEStartKueueInsideClusterOperator(GKEOperatorMixin, KubernetesInstallKueueOperator):
'''
Installs Kueue of specific version inside Cluster.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:GKEStartKueueInsideClusterOperator... | 5 | 1 | 14 | 1 | 14 | 0 | 2 | 0.73 | 2 | 5 | 1 | 0 | 2 | 6 | 2 | 10 | 64 | 7 | 33 | 23 | 20 | 24 | 18 | 13 | 15 | 2 | 2 | 1 | 3 |
8,507 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/kubernetes_engine.py | google.cloud.operators.kubernetes_engine.GKEStartKueueJobOperator | from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from collections.abc import Sequence
from airflow.providers.cncf.kubernetes.operators.kueue import KubernetesInstallKueueOperator, KubernetesStartKueueJobOperator
class GKEStartKueueJobOperator(GKEOperatorMixin, KubernetesStartKueueJobOpe... |
class GKEStartKueueJobOperator(GKEOperatorMixin, KubernetesStartKueueJobOperator):
'''
Executes a Kubernetes Job in Kueue in the specified Google Kubernetes Engine cluster.
:param location: The name of the Google Kubernetes Engine zone or region in which the
cluster resides, e.g. 'us-central1-a'
... | 2 | 1 | 18 | 0 | 18 | 0 | 1 | 0.82 | 2 | 4 | 0 | 0 | 1 | 6 | 1 | 58 | 43 | 3 | 22 | 19 | 10 | 18 | 10 | 9 | 8 | 1 | 4 | 0 | 1 |
8,508 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/kubernetes_engine.py | google.cloud.operators.kubernetes_engine.GKEStartPodOperator | from airflow.exceptions import AirflowException, AirflowProviderDeprecationWarning
from airflow.providers.cncf.kubernetes.operators.pod import KubernetesPodOperator
from collections.abc import Sequence
from airflow.providers.google.cloud.links.kubernetes_engine import KubernetesEngineClusterLink, KubernetesEngineJobLin... |
class GKEStartPodOperator(GKEOperatorMixin, KubernetesPodOperator):
'''
Executes a task in a Kubernetes pod in the specified Google Kubernetes Engine cluster.
This Operator assumes that the system has gcloud installed and has configured a
connection id with a service account.
The **minimum** requir... | 3 | 2 | 14 | 0 | 13 | 1 | 2 | 0.42 | 2 | 9 | 4 | 0 | 6 | 18 | 6 | 49 | 166 | 14 | 109 | 47 | 64 | 46 | 36 | 20 | 29 | 6 | 2 | 1 | 12 |
8,509 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/kubernetes_engine.py | google.cloud.operators.kubernetes_engine.GKESuspendJobOperator | from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from collections.abc import Sequence
from kubernetes.client import V1JobList, models as k8s
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.cloud.links.kubernetes_engine... |
class GKESuspendJobOperator(GKEOperatorMixin, GoogleCloudBaseOperator):
'''
Suspend Job by given name.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:GKESuspendJobOperator`
:param name: The name of the Job to suspend
:pa... | 3 | 1 | 19 | 1 | 18 | 0 | 1 | 0.59 | 2 | 5 | 1 | 0 | 2 | 9 | 2 | 8 | 69 | 7 | 39 | 26 | 24 | 23 | 19 | 14 | 16 | 1 | 2 | 0 | 2 |
8,510 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/looker.py | google.cloud.operators.looker.LookerStartPdtBuildOperator | from airflow.providers.google.cloud.hooks.looker import LookerHook
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.exceptions import AirflowException
class LookerStartPdtBuildOperator(GoogleCloudBaseOperator):
"""
Submits a PDT materialization job to Looker.... |
class LookerStartPdtBuildOperator(GoogleCloudBaseOperator):
'''
Submits a PDT materialization job to Looker.
:param looker_conn_id: Required. The connection ID to use connecting to Looker.
:param model: Required. The model of the PDT to start building.
:param view: Required. The view of the PDT to ... | 4 | 1 | 17 | 2 | 15 | 0 | 2 | 0.36 | 1 | 7 | 2 | 0 | 3 | 10 | 3 | 4 | 74 | 10 | 47 | 26 | 32 | 17 | 26 | 15 | 22 | 3 | 2 | 1 | 6 |
8,511 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/mlengine.py | google.cloud.operators.mlengine.MLEngineCreateModelOperator | from airflow.exceptions import AirflowProviderDeprecationWarning
from collections.abc import Sequence
from airflow.providers.google.cloud.links.mlengine import MLEngineModelLink
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.providers.google.cloud.hooks.mlengine import MLE... | @deprecated(planned_removal_date='November 01, 2025', use_instead='appropriate VertexAI operator', reason='All the functionality of legacy MLEngine and new features are available on the Vertex AI.', category=AirflowProviderDeprecationWarning)
class MLEngineCreateModelOperator(GoogleCloudBaseOperator):
'''
Creat... | 4 | 1 | 15 | 1 | 14 | 0 | 2 | 0.66 | 1 | 6 | 2 | 0 | 2 | 4 | 2 | 3 | 67 | 9 | 35 | 19 | 24 | 23 | 15 | 11 | 12 | 2 | 2 | 1 | 3 |
8,512 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/natural_language.py | google.cloud.operators.natural_language.CloudNaturalLanguageAnalyzeEntitiesOperator | from airflow.providers.google.cloud.hooks.natural_language import CloudNaturalLanguageHook
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from google.protobuf.json_format import MessageToDict
from collections.ab... |
class CloudNaturalLanguageAnalyzeEntitiesOperator(GoogleCloudBaseOperator):
'''
Finds named entities in the text along with various properties.
Examples properties: entity types, salience, mentions for each entity, and others.
.. seealso::
For more information on how to use this operator, take ... | 3 | 1 | 17 | 1 | 16 | 0 | 1 | 0.7 | 1 | 6 | 1 | 0 | 2 | 7 | 2 | 3 | 71 | 8 | 37 | 24 | 23 | 26 | 17 | 13 | 14 | 1 | 2 | 0 | 2 |
8,513 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/natural_language.py | google.cloud.operators.natural_language.CloudNaturalLanguageAnalyzeEntitySentimentOperator | from airflow.providers.google.cloud.hooks.natural_language import CloudNaturalLanguageHook
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from google.protobuf.json_format import MessageToDict
from collections.ab... |
class CloudNaturalLanguageAnalyzeEntitySentimentOperator(GoogleCloudBaseOperator):
'''
Similar to AnalyzeEntities, also analyzes sentiment associated with each entity and its mentions.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/opera... | 3 | 1 | 19 | 1 | 18 | 0 | 1 | 0.61 | 1 | 6 | 1 | 0 | 2 | 7 | 2 | 3 | 74 | 8 | 41 | 24 | 27 | 25 | 17 | 13 | 14 | 1 | 2 | 0 | 2 |
8,514 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/natural_language.py | google.cloud.operators.natural_language.CloudNaturalLanguageAnalyzeSentimentOperator | from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.cloud.hooks.natural_language import CloudNaturalLanguageHook
from google.protobuf.json_format import MessageToDict
from collections.ab... |
class CloudNaturalLanguageAnalyzeSentimentOperator(GoogleCloudBaseOperator):
'''
Analyzes the sentiment of the provided text.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudNaturalLanguageAnalyzeSentimentOperator`
:para... | 3 | 1 | 17 | 1 | 16 | 0 | 1 | 0.68 | 1 | 6 | 1 | 0 | 2 | 7 | 2 | 3 | 70 | 8 | 37 | 24 | 23 | 25 | 17 | 13 | 14 | 1 | 2 | 0 | 2 |
8,515 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/natural_language.py | google.cloud.operators.natural_language.CloudNaturalLanguageClassifyTextOperator | from airflow.providers.google.cloud.hooks.natural_language import CloudNaturalLanguageHook
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from collections.abc import Sequence
from google.protobuf.json_format import MessageToDict
from airflow.providers.google.cloud.operators.cloud_base import Google... |
class CloudNaturalLanguageClassifyTextOperator(GoogleCloudBaseOperator):
'''
Classifies a document into categories.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudNaturalLanguageClassifyTextOperator`
:param document: In... | 3 | 1 | 16 | 1 | 15 | 0 | 1 | 0.69 | 1 | 6 | 1 | 0 | 2 | 6 | 2 | 3 | 66 | 7 | 35 | 22 | 22 | 24 | 16 | 12 | 13 | 1 | 2 | 0 | 2 |
8,516 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/pubsub.py | google.cloud.operators.pubsub.PubSubCreateSubscriptionOperator | from google.cloud.pubsub_v1.types import DeadLetterPolicy, Duration, ExpirationPolicy, MessageStoragePolicy, PushConfig, ReceivedMessage, RetryPolicy, SchemaSettings
from airflow.providers.google.cloud.links.pubsub import PubSubSubscriptionLink, PubSubTopicLink
from google.api_core.gapic_v1.method import DEFAULT, _Meth... |
class PubSubCreateSubscriptionOperator(GoogleCloudBaseOperator):
'''
Create a PubSub subscription.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:PubSubCreateSubscriptionOperator`
By default, the subscription will be created... | 6 | 1 | 41 | 1 | 40 | 1 | 1 | 1.13 | 1 | 10 | 2 | 0 | 2 | 20 | 2 | 3 | 208 | 18 | 90 | 52 | 63 | 102 | 33 | 28 | 30 | 1 | 2 | 0 | 2 |
8,517 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/pubsub.py | google.cloud.operators.pubsub.PubSubCreateTopicOperator | from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.hooks.pubsub import PubSubHook
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.providers.google.cloud.links.pubsub import PubSubSubscriptionLink, PubSubTopicLink
from air... |
class PubSubCreateTopicOperator(GoogleCloudBaseOperator):
'''
Create a PubSub topic.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:PubSubCreateTopicOperator`
By default, if the topic already exists, this operator will
n... | 3 | 1 | 30 | 1 | 29 | 0 | 1 | 0.82 | 1 | 9 | 2 | 0 | 2 | 13 | 2 | 3 | 132 | 13 | 66 | 37 | 46 | 54 | 25 | 20 | 22 | 1 | 2 | 0 | 2 |
8,518 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/pubsub.py | google.cloud.operators.pubsub.PubSubDeleteSubscriptionOperator | 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 Callable, Sequence
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.... |
class PubSubDeleteSubscriptionOperator(GoogleCloudBaseOperator):
'''
Delete a PubSub subscription.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:PubSubDeleteSubscriptionOperator`
By default, if the subscription does not exi... | 3 | 1 | 19 | 1 | 19 | 0 | 1 | 1 | 1 | 7 | 1 | 0 | 2 | 8 | 2 | 3 | 99 | 12 | 44 | 26 | 29 | 44 | 18 | 14 | 15 | 1 | 2 | 0 | 2 |
8,519 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/pubsub.py | google.cloud.operators.pubsub.PubSubDeleteTopicOperator | from collections.abc import Callable, Sequence
from airflow.providers.google.cloud.hooks.pubsub import PubSubHook
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from google.api_core.gapic_v1.method ... |
class PubSubDeleteTopicOperator(GoogleCloudBaseOperator):
'''
Delete a PubSub topic.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:PubSubDeleteTopicOperator`
By default, if the topic does not exist, this operator will
n... | 3 | 1 | 19 | 1 | 19 | 0 | 1 | 0.98 | 1 | 7 | 1 | 0 | 2 | 8 | 2 | 3 | 97 | 11 | 44 | 26 | 29 | 43 | 18 | 14 | 15 | 1 | 2 | 0 | 2 |
8,520 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/pubsub.py | google.cloud.operators.pubsub.PubSubPublishMessageOperator | from functools import cached_property
from collections.abc import Callable, Sequence
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.providers.google.cloud.hooks.pubsub import PubSubHook... |
class PubSubPublishMessageOperator(GoogleCloudBaseOperator):
'''
Publish messages to a PubSub topic.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:PubSubPublishMessageOperator`
Each Task publishes all provided messages to t... | 6 | 1 | 14 | 1 | 14 | 0 | 1 | 1.64 | 1 | 6 | 1 | 0 | 2 | 6 | 2 | 3 | 105 | 11 | 36 | 22 | 23 | 59 | 16 | 12 | 13 | 1 | 2 | 0 | 2 |
8,521 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/pubsub.py | google.cloud.operators.pubsub.PubSubPullOperator | from airflow.exceptions import AirflowException
from airflow.providers.google.common.consts import GOOGLE_DEFAULT_DEFERRABLE_METHOD_NAME
from google.cloud.pubsub_v1.types import DeadLetterPolicy, Duration, ExpirationPolicy, MessageStoragePolicy, PushConfig, ReceivedMessage, RetryPolicy, SchemaSettings
from airflow.conf... |
class PubSubPullOperator(GoogleCloudBaseOperator):
'''
Pulls messages from a PubSub subscription and passes them through XCom.
If the queue is empty, returns empty list - never waits for messages.
If you do need to wait, please use :class:`airflow.providers.google.cloud.sensors.PubSubPullSensor`
in... | 6 | 3 | 21 | 3 | 16 | 3 | 1 | 0.87 | 1 | 8 | 1 | 0 | 3 | 7 | 3 | 4 | 118 | 19 | 53 | 32 | 34 | 46 | 22 | 17 | 18 | 2 | 2 | 1 | 4 |
8,522 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/spanner.py | google.cloud.operators.spanner.SpannerDeleteDatabaseInstanceOperator | from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.cloud.hooks.spanner import SpannerHook
from airflow.exceptions import AirflowException
from collections.abc import Sequen... |
class SpannerDeleteDatabaseInstanceOperator(GoogleCloudBaseOperator):
'''
Deletes a Cloud Spanner database.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:SpannerDeleteDatabaseInstanceOperator`
:param instance_id: Cloud Span... | 4 | 1 | 15 | 0 | 15 | 0 | 2 | 0.4 | 1 | 6 | 2 | 0 | 3 | 5 | 3 | 4 | 80 | 6 | 53 | 21 | 40 | 21 | 24 | 12 | 20 | 4 | 2 | 1 | 7 |
8,523 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/spanner.py | google.cloud.operators.spanner.SpannerDeleteInstanceOperator | from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.exceptions import AirflowException
from collections.abc import Sequence
from airflow.providers.google.cloud.hooks.spanner import SpannerHook
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperat... |
class SpannerDeleteInstanceOperator(GoogleCloudBaseOperator):
'''
Delete a Cloud Spanner instance; if an instance does not exist, no action is taken and the task succeeds.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:SpannerDe... | 4 | 1 | 11 | 0 | 11 | 0 | 2 | 0.49 | 1 | 6 | 2 | 0 | 3 | 4 | 3 | 4 | 67 | 6 | 41 | 18 | 29 | 20 | 20 | 10 | 16 | 3 | 2 | 1 | 6 |
8,524 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/spanner.py | google.cloud.operators.spanner.SpannerDeployDatabaseInstanceOperator | from airflow.providers.google.cloud.hooks.spanner import SpannerHook
from airflow.providers.google.cloud.links.spanner import SpannerDatabaseLink, SpannerInstanceLink
from airflow.exceptions import AirflowException
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.providers.g... |
class SpannerDeployDatabaseInstanceOperator(GoogleCloudBaseOperator):
'''
Creates a new Cloud Spanner database; if database exists, the operator does nothing.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:SpannerDeployDatabaseI... | 4 | 1 | 21 | 0 | 21 | 0 | 2 | 0.3 | 1 | 8 | 3 | 0 | 3 | 6 | 3 | 4 | 102 | 6 | 74 | 25 | 60 | 22 | 29 | 15 | 25 | 4 | 2 | 1 | 7 |
8,525 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/spanner.py | google.cloud.operators.spanner.SpannerDeployInstanceOperator | from airflow.exceptions import AirflowException
from airflow.providers.google.cloud.hooks.spanner import SpannerHook
from airflow.providers.google.cloud.links.spanner import SpannerDatabaseLink, SpannerInstanceLink
from collections.abc import Sequence
from airflow.providers.google.cloud.operators.cloud_base import Goog... |
class SpannerDeployInstanceOperator(GoogleCloudBaseOperator):
'''
Create or update a Cloud Spanner instance.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:SpannerDeployInstanceOperator`
:param instance_id: Cloud Spanner ins... | 4 | 1 | 17 | 0 | 17 | 0 | 2 | 0.47 | 1 | 7 | 3 | 0 | 3 | 7 | 3 | 4 | 94 | 6 | 60 | 26 | 45 | 28 | 27 | 15 | 23 | 3 | 2 | 1 | 6 |
8,526 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/spanner.py | google.cloud.operators.spanner.SpannerQueryDatabaseInstanceOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc import Sequence
from airflow.exceptions import AirflowException
from airflow.providers.google.cloud.links.spanner import SpannerDatabaseLink, SpannerInstanceLink
from airflow.providers.google.cloud.hooks.spanner... |
class SpannerQueryDatabaseInstanceOperator(GoogleCloudBaseOperator):
'''
Executes an arbitrary DML query (INSERT, UPDATE, DELETE).
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:SpannerQueryDatabaseInstanceOperator`
:param i... | 6 | 2 | 17 | 0 | 15 | 1 | 3 | 0.36 | 1 | 7 | 3 | 0 | 3 | 6 | 4 | 5 | 109 | 8 | 74 | 28 | 58 | 27 | 36 | 17 | 31 | 5 | 2 | 1 | 10 |
8,527 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/spanner.py | google.cloud.operators.spanner.SpannerUpdateDatabaseInstanceOperator | from airflow.providers.google.cloud.links.spanner import SpannerDatabaseLink, SpannerInstanceLink
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc import Sequence
from airflow.exceptions import AirflowException
from airflow.providers.google.cloud.hooks.spanner... |
class SpannerUpdateDatabaseInstanceOperator(GoogleCloudBaseOperator):
'''
Updates a Cloud Spanner database with the specified DDL statement.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:SpannerUpdateDatabaseInstanceOperator`
... | 4 | 1 | 19 | 0 | 19 | 0 | 3 | 0.34 | 1 | 7 | 3 | 0 | 3 | 7 | 3 | 4 | 100 | 6 | 70 | 27 | 55 | 24 | 30 | 16 | 26 | 5 | 2 | 1 | 8 |
8,528 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/speech_to_text.py | google.cloud.operators.speech_to_text.CloudSpeechToTextRecognizeSpeechOperator | from airflow.providers.google.common.links.storage import FileDetailsLink
from google.protobuf.json_format import MessageToDict
from airflow.exceptions import AirflowException
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.common.hooks.base_google i... |
class CloudSpeechToTextRecognizeSpeechOperator(GoogleCloudBaseOperator):
'''
Recognizes speech from audio file and returns it as text.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudSpeechToTextRecognizeSpeechOperator`
... | 4 | 1 | 14 | 0 | 14 | 0 | 2 | 0.58 | 1 | 7 | 3 | 0 | 3 | 7 | 3 | 4 | 88 | 6 | 52 | 26 | 37 | 30 | 24 | 15 | 20 | 3 | 2 | 1 | 6 |
8,529 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/stackdriver.py | google.cloud.operators.stackdriver.StackdriverDeleteAlertOperator | 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.stackdriver import StackdriverHook
from google.api_core.gapic_v1.method ... |
class StackdriverDeleteAlertOperator(GoogleCloudBaseOperator):
'''
Deletes an alerting policy.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:StackdriverDeleteAlertOperator`
:param name: The alerting policy to delete. The fo... | 3 | 1 | 17 | 0 | 17 | 0 | 2 | 0.65 | 1 | 6 | 1 | 0 | 2 | 8 | 2 | 3 | 71 | 6 | 40 | 24 | 26 | 26 | 18 | 13 | 15 | 2 | 2 | 1 | 3 |
8,530 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/stackdriver.py | google.cloud.operators.stackdriver.StackdriverDeleteNotificationChannelOperator | from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.hooks.stackdriver import StackdriverHook
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from c... |
class StackdriverDeleteNotificationChannelOperator(GoogleCloudBaseOperator):
'''
Deletes a notification channel.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:StackdriverDeleteNotificationChannelOperator`
:param name: The a... | 3 | 1 | 16 | 0 | 16 | 0 | 2 | 0.7 | 1 | 6 | 1 | 0 | 2 | 8 | 2 | 3 | 68 | 6 | 37 | 24 | 23 | 26 | 18 | 13 | 15 | 2 | 2 | 1 | 3 |
8,531 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/stackdriver.py | google.cloud.operators.stackdriver.StackdriverDisableAlertPoliciesOperator | from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.links.stackdriver import StackdriverNotificationsLink, StackdriverPoliciesLink
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from collections.abc import Sequence
from airflow.provid... |
class StackdriverDisableAlertPoliciesOperator(GoogleCloudBaseOperator):
'''
Disables one or more enabled alerting policies identified by filter parameter.
Inoperative in case the policy is already disabled.
.. seealso::
For more information on how to use this operator, take a look at the guide:... | 3 | 1 | 20 | 0 | 20 | 0 | 2 | 0.6 | 1 | 7 | 2 | 0 | 2 | 8 | 2 | 3 | 80 | 6 | 47 | 25 | 33 | 28 | 20 | 14 | 17 | 2 | 2 | 1 | 3 |
8,532 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/stackdriver.py | google.cloud.operators.stackdriver.StackdriverDisableNotificationChannelsOperator | from airflow.providers.google.cloud.links.stackdriver import StackdriverNotificationsLink, StackdriverPoliciesLink
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.operators.cloud_base... |
class StackdriverDisableNotificationChannelsOperator(GoogleCloudBaseOperator):
'''
Disables one or more enabled notification channels identified by filter parameter.
Inoperative in case the policy is already disabled.
.. seealso::
For more information on how to use this operator, take a look at... | 3 | 1 | 21 | 0 | 21 | 0 | 2 | 0.57 | 1 | 7 | 2 | 0 | 2 | 8 | 2 | 3 | 83 | 7 | 49 | 25 | 35 | 28 | 20 | 14 | 17 | 2 | 2 | 1 | 3 |
8,533 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/stackdriver.py | google.cloud.operators.stackdriver.StackdriverEnableAlertPoliciesOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.cloud.hooks.stackdriver import StackdriverHook
from collections.abc import Sequence
from airflow.providers.google.cloud.links.stackdriver import StackdriverNotificationsLink, StackdriverPoliciesLink
fro... |
class StackdriverEnableAlertPoliciesOperator(GoogleCloudBaseOperator):
'''
Enables one or more disabled alerting policies identified by filter parameter.
Inoperative in case the policy is already enabled.
.. seealso::
For more information on how to use this operator, take a look at the guide:
... | 3 | 1 | 20 | 0 | 20 | 0 | 2 | 0.6 | 1 | 7 | 2 | 0 | 2 | 8 | 2 | 3 | 80 | 6 | 47 | 25 | 33 | 28 | 20 | 14 | 17 | 2 | 2 | 1 | 3 |
8,534 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/stackdriver.py | google.cloud.operators.stackdriver.StackdriverEnableNotificationChannelsOperator | from airflow.providers.google.cloud.hooks.stackdriver import StackdriverHook
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from collections.abc import Sequence
from airflow.providers.google.cloud.links.stackdriver imp... |
class StackdriverEnableNotificationChannelsOperator(GoogleCloudBaseOperator):
'''
Enables one or more disabled alerting policies identified by filter parameter.
Inoperative in case the policy is already enabled.
.. seealso::
For more information on how to use this operator, take a look at the g... | 3 | 1 | 21 | 0 | 21 | 0 | 2 | 0.57 | 1 | 7 | 2 | 0 | 2 | 8 | 2 | 3 | 83 | 7 | 49 | 25 | 35 | 28 | 20 | 14 | 17 | 2 | 2 | 1 | 3 |
8,535 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/stackdriver.py | google.cloud.operators.stackdriver.StackdriverListAlertPoliciesOperator | from airflow.providers.google.cloud.links.stackdriver import StackdriverNotificationsLink, StackdriverPoliciesLink
from google.cloud.monitoring_v3 import AlertPolicy, NotificationChannel
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.cloud.hooks.sta... |
class StackdriverListAlertPoliciesOperator(GoogleCloudBaseOperator):
'''
Fetches all the Alert Policies identified by the filter passed as filter parameter.
The desired return type can be specified by the format parameter, the supported
formats are "dict", "json" and None which returns python dictionar... | 3 | 1 | 29 | 1 | 29 | 0 | 2 | 0.66 | 1 | 8 | 2 | 0 | 2 | 11 | 2 | 3 | 112 | 7 | 64 | 32 | 47 | 42 | 24 | 18 | 21 | 2 | 2 | 1 | 3 |
8,536 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/stackdriver.py | google.cloud.operators.stackdriver.StackdriverListNotificationChannelsOperator | from airflow.providers.google.cloud.hooks.stackdriver import StackdriverHook
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.links.stackdriver import StackdriverNotificationsLi... |
class StackdriverListNotificationChannelsOperator(GoogleCloudBaseOperator):
'''
Fetches all the Notification Channels identified by the filter passed as filter parameter.
The desired return type can be specified by the format parameter, the
supported formats are "dict", "json" and None which returns py... | 3 | 1 | 29 | 0 | 29 | 0 | 2 | 0.66 | 1 | 8 | 2 | 0 | 2 | 11 | 2 | 3 | 112 | 7 | 64 | 32 | 47 | 42 | 24 | 18 | 21 | 2 | 2 | 1 | 3 |
8,537 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/stackdriver.py | google.cloud.operators.stackdriver.StackdriverUpsertAlertOperator | from collections.abc import Sequence
from airflow.providers.google.cloud.hooks.stackdriver import StackdriverHook
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from google.api_core.gapic_v1.method ... |
class StackdriverUpsertAlertOperator(GoogleCloudBaseOperator):
'''
Creates a new alert or updates an existing policy identified the name field in the alerts parameter.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:StackdriverUp... | 3 | 1 | 20 | 0 | 20 | 0 | 2 | 0.58 | 1 | 7 | 2 | 0 | 2 | 8 | 2 | 3 | 81 | 6 | 48 | 26 | 34 | 28 | 21 | 15 | 18 | 2 | 2 | 1 | 3 |
8,538 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/stackdriver.py | google.cloud.operators.stackdriver.StackdriverUpsertNotificationChannelOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.cloud.hooks.stackdriver import StackdriverHook
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from collections.abc import Sequence
from google.api_core.gapic_v1.method ... |
class StackdriverUpsertNotificationChannelOperator(GoogleCloudBaseOperator):
'''
Create a new notification or updates an existing notification channel.
Channel is identified by the name field in the alerts parameter.
.. seealso::
For more information on how to use this operator, take a look at ... | 3 | 1 | 21 | 0 | 21 | 0 | 2 | 0.58 | 1 | 7 | 2 | 0 | 2 | 8 | 2 | 3 | 85 | 7 | 50 | 26 | 36 | 29 | 21 | 15 | 18 | 2 | 2 | 1 | 3 |
8,539 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/tasks.py | google.cloud.operators.tasks.CloudTasksQueueCreateOperator | from google.api_core.exceptions import AlreadyExists
from airflow.providers.google.cloud.hooks.tasks import CloudTasksHook
from google.cloud.tasks_v2.types import Queue, Task
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.links.cloud_tasks import CloudTasksLink, ... |
class CloudTasksQueueCreateOperator(GoogleCloudBaseOperator):
'''
Creates a queue in Cloud Tasks.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudTasksQueueCreateOperator`
:param location: The location name in which the ... | 3 | 1 | 28 | 0 | 28 | 0 | 2 | 0.44 | 1 | 7 | 2 | 0 | 2 | 9 | 2 | 3 | 101 | 6 | 66 | 29 | 50 | 29 | 24 | 16 | 21 | 3 | 2 | 2 | 4 |
8,540 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/tasks.py | google.cloud.operators.tasks.CloudTasksQueueDeleteOperator | from collections.abc import Sequence
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.cloud.hooks.tasks import CloudTasksHook
from google.api_core.gapic_v1.method import ... |
class CloudTasksQueueDeleteOperator(GoogleCloudBaseOperator):
'''
Deletes a queue from Cloud Tasks, even if it has tasks in it.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudTasksQueueDeleteOperator`
:param location: T... | 3 | 1 | 18 | 0 | 18 | 0 | 1 | 0.58 | 1 | 5 | 1 | 0 | 2 | 8 | 2 | 3 | 73 | 5 | 43 | 25 | 28 | 25 | 15 | 13 | 12 | 1 | 2 | 0 | 2 |
8,541 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/tasks.py | google.cloud.operators.tasks.CloudTasksQueueGetOperator | from collections.abc import Sequence
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.links.cloud_tasks import CloudTasksLink, CloudTasksQueueLink
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.providers.google.cloud.o... |
class CloudTasksQueueGetOperator(GoogleCloudBaseOperator):
'''
Gets a queue from Cloud Tasks.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudTasksQueueGetOperator`
:param location: The location name in which the queue w... | 3 | 1 | 21 | 0 | 21 | 0 | 1 | 0.5 | 1 | 6 | 2 | 0 | 2 | 8 | 2 | 3 | 81 | 6 | 50 | 27 | 35 | 25 | 18 | 15 | 15 | 1 | 2 | 0 | 2 |
8,542 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/tasks.py | google.cloud.operators.tasks.CloudTasksQueuePauseOperator | from google.cloud.tasks_v2.types import Queue, Task
from collections.abc import Sequence
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.hooks.tasks import CloudTasksHook
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from ... |
class CloudTasksQueuePauseOperator(GoogleCloudBaseOperator):
'''
Pauses a queue in Cloud Tasks.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudTasksQueuePauseOperator`
:param location: The location name in which the que... | 3 | 1 | 21 | 0 | 21 | 0 | 1 | 0.5 | 1 | 6 | 2 | 0 | 2 | 8 | 2 | 3 | 81 | 6 | 50 | 27 | 35 | 25 | 18 | 15 | 15 | 1 | 2 | 0 | 2 |
8,543 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/tasks.py | google.cloud.operators.tasks.CloudTasksQueuePurgeOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.cloud.hooks.tasks import CloudTasksHook
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from google.cloud.tasks_v2.types import Queue, Task
from collections.abc import Sequence
from ... |
class CloudTasksQueuePurgeOperator(GoogleCloudBaseOperator):
'''
Purges a queue by deleting all of its tasks from Cloud Tasks.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudTasksQueuePurgeOperator`
:param location: The... | 3 | 1 | 21 | 0 | 21 | 0 | 1 | 0.5 | 1 | 6 | 2 | 0 | 2 | 8 | 2 | 3 | 81 | 6 | 50 | 27 | 35 | 25 | 18 | 15 | 15 | 1 | 2 | 0 | 2 |
8,544 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/tasks.py | google.cloud.operators.tasks.CloudTasksQueueResumeOperator | from airflow.providers.google.cloud.links.cloud_tasks import CloudTasksLink, CloudTasksQueueLink
from airflow.providers.google.cloud.hooks.tasks import CloudTasksHook
from collections.abc import Sequence
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.googl... |
class CloudTasksQueueResumeOperator(GoogleCloudBaseOperator):
'''
Resumes a queue in Cloud Tasks.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudTasksQueueResumeOperator`
:param location: The location name in which the ... | 3 | 1 | 21 | 0 | 21 | 0 | 1 | 0.5 | 1 | 6 | 2 | 0 | 2 | 8 | 2 | 3 | 81 | 6 | 50 | 27 | 35 | 25 | 18 | 15 | 15 | 1 | 2 | 0 | 2 |
8,545 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/tasks.py | google.cloud.operators.tasks.CloudTasksQueueUpdateOperator | from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.hooks.tasks import CloudTasksHook
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from google.cloud.tasks_v2.types import Queue, Task
from airflow.providers.google.common.hooks... |
class CloudTasksQueueUpdateOperator(GoogleCloudBaseOperator):
'''
Updates a queue in Cloud Tasks.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudTasksQueueUpdateOperator`
:param task_queue: The task queue to update.
... | 3 | 1 | 24 | 0 | 24 | 0 | 1 | 0.57 | 1 | 6 | 2 | 0 | 2 | 10 | 2 | 3 | 97 | 6 | 58 | 31 | 41 | 33 | 20 | 17 | 17 | 1 | 2 | 0 | 2 |
8,546 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/tasks.py | google.cloud.operators.tasks.CloudTasksQueuesListOperator | from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.links.cloud_tasks import CloudTasksLink, CloudTasksQueueLink
from airflow.providers.google.cloud.hooks.tasks import CloudTasksHook
from google.cloud.tasks_v2.types import Queue, Task
from collections.abc import Seque... |
class CloudTasksQueuesListOperator(GoogleCloudBaseOperator):
'''
Lists queues from Cloud Tasks.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudTasksQueuesListOperator`
:param location: The location name in which the que... | 3 | 1 | 22 | 0 | 22 | 0 | 1 | 0.52 | 1 | 7 | 2 | 0 | 2 | 9 | 2 | 3 | 85 | 6 | 52 | 29 | 36 | 27 | 19 | 16 | 16 | 1 | 2 | 0 | 2 |
8,547 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/tasks.py | google.cloud.operators.tasks.CloudTasksTaskCreateOperator | from airflow.providers.google.cloud.links.cloud_tasks import CloudTasksLink, CloudTasksQueueLink
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.common.hooks.base_google import PROVI... |
class CloudTasksTaskCreateOperator(GoogleCloudBaseOperator):
'''
Creates a task in Cloud Tasks.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudTasksTaskCreateOperator`
:param location: The location name in which the tas... | 3 | 1 | 25 | 0 | 25 | 0 | 1 | 0.51 | 1 | 7 | 2 | 0 | 2 | 11 | 2 | 3 | 98 | 6 | 61 | 33 | 43 | 31 | 21 | 18 | 18 | 1 | 2 | 0 | 2 |
8,548 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/tasks.py | google.cloud.operators.tasks.CloudTasksTaskDeleteOperator | from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from collections.abc import Sequence
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.cloud.hooks.task... |
class CloudTasksTaskDeleteOperator(GoogleCloudBaseOperator):
'''
Deletes a task from Cloud Tasks.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudTasksTaskDeleteOperator`
:param location: The location name in which the t... | 3 | 1 | 19 | 0 | 19 | 0 | 1 | 0.55 | 1 | 5 | 1 | 0 | 2 | 9 | 2 | 3 | 78 | 5 | 47 | 27 | 31 | 26 | 16 | 14 | 13 | 1 | 2 | 0 | 2 |
8,549 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/tasks.py | google.cloud.operators.tasks.CloudTasksTaskGetOperator | from airflow.providers.google.cloud.hooks.tasks import CloudTasksHook
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from google.cloud.tasks_v2.types import Queue, Task
from collections.abc import Sequence
from airflow... |
class CloudTasksTaskGetOperator(GoogleCloudBaseOperator):
'''
Gets a task from Cloud Tasks.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudTasksTaskGetOperator`
:param location: The location name in which the task was c... | 3 | 1 | 24 | 0 | 24 | 0 | 1 | 0.49 | 1 | 6 | 2 | 0 | 2 | 10 | 2 | 3 | 91 | 6 | 57 | 31 | 40 | 28 | 20 | 17 | 17 | 1 | 2 | 0 | 2 |
8,550 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/tasks.py | google.cloud.operators.tasks.CloudTasksTaskRunOperator | from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from google.cloud.tasks_v2.types import Queue, Task
from airflow.providers.google.cloud.hooks.tasks import CloudTasksHook
from airflow.providers.google.cloud.links.cloud_tasks import CloudTasksLink, CloudTasksQueueLink
from airflow.providers.google.com... |
class CloudTasksTaskRunOperator(GoogleCloudBaseOperator):
'''
Forces to run a task in Cloud Tasks.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudTasksTaskRunOperator`
:param location: The location name in which the tas... | 3 | 1 | 24 | 0 | 24 | 0 | 1 | 0.49 | 1 | 6 | 2 | 0 | 2 | 10 | 2 | 3 | 91 | 6 | 57 | 31 | 40 | 28 | 20 | 17 | 17 | 1 | 2 | 0 | 2 |
8,551 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/tasks.py | google.cloud.operators.tasks.CloudTasksTasksListOperator | from airflow.providers.google.cloud.hooks.tasks import CloudTasksHook
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from google.c... |
class CloudTasksTasksListOperator(GoogleCloudBaseOperator):
'''
Lists the tasks in Cloud Tasks.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudTasksTasksListOperator`
:param location: The location name in which the task... | 3 | 1 | 24 | 0 | 24 | 0 | 1 | 0.51 | 1 | 7 | 2 | 0 | 2 | 10 | 2 | 3 | 92 | 6 | 57 | 31 | 40 | 29 | 20 | 17 | 17 | 1 | 2 | 0 | 2 |
8,552 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/text_to_speech.py | google.cloud.operators.text_to_speech.CloudTextToSpeechSynthesizeOperator | from airflow.providers.google.cloud.hooks.gcs import GCSHook
from airflow.providers.google.common.links.storage import FileDetailsLink
from collections.abc import Sequence
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.common.hooks.base_google impor... |
class CloudTextToSpeechSynthesizeOperator(GoogleCloudBaseOperator):
'''
Synthesizes text to speech and stores it in Google Cloud Storage.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudTextToSpeechSynthesizeOperator`
:p... | 4 | 1 | 21 | 0 | 21 | 0 | 2 | 0.43 | 1 | 9 | 4 | 0 | 3 | 10 | 3 | 4 | 115 | 6 | 76 | 35 | 58 | 33 | 28 | 20 | 24 | 3 | 2 | 2 | 5 |
8,553 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/translate.py | google.cloud.operators.translate.CloudTranslateTextOperator | from airflow.exceptions import AirflowException
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc import MutableMapping, MutableSequence, Sequence
from airflow.providers.google.cloud.hooks.translate import CloudTranslateHook, TranslateHook
class CloudTranslate... |
class CloudTranslateTextOperator(GoogleCloudBaseOperator):
'''
Translate a string or list of strings.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudTranslateTextOperator`
See https://cloud.google.com/translate/docs/tra... | 3 | 1 | 20 | 0 | 20 | 0 | 2 | 0.59 | 1 | 8 | 2 | 0 | 2 | 7 | 2 | 3 | 88 | 10 | 49 | 25 | 35 | 29 | 21 | 13 | 18 | 2 | 2 | 1 | 3 |
8,554 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/translate.py | google.cloud.operators.translate.TranslateCreateDatasetOperator | from collections.abc import MutableMapping, MutableSequence, Sequence
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.links.translate import TranslateResultByOutputConfigLink, Transla... |
class TranslateCreateDatasetOperator(GoogleCloudBaseOperator):
'''
Create a Google Cloud Translate dataset.
Creates a `native` translation dataset, using API V3.
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:TranslateCreateDatasetOperator`.
:pa... | 3 | 1 | 25 | 1 | 25 | 0 | 1 | 0.4 | 1 | 9 | 2 | 0 | 2 | 8 | 2 | 3 | 88 | 7 | 58 | 30 | 43 | 23 | 25 | 18 | 22 | 1 | 2 | 0 | 2 |
8,555 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/translate.py | google.cloud.operators.translate.TranslateCreateGlossaryOperator | from google.api_core.exceptions import GoogleAPICallError
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc impo... |
class TranslateCreateGlossaryOperator(GoogleCloudBaseOperator):
'''
Creates a Google Cloud Translation Glossary.
Creates a translation glossary, using API V3.
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:TranslateCreateGlossaryOperator`.
:para... | 3 | 1 | 29 | 1 | 28 | 0 | 2 | 0.47 | 1 | 10 | 2 | 0 | 2 | 11 | 2 | 3 | 101 | 7 | 64 | 36 | 46 | 30 | 30 | 20 | 27 | 2 | 2 | 1 | 3 |
8,556 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/translate.py | google.cloud.operators.translate.TranslateCreateModelOperator | from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.providers.google.cloud.hooks.translate import CloudTranslateHook, TranslateHook
from google.api_core.exceptions import GoogleAPICallError
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.excepti... |
class TranslateCreateModelOperator(GoogleCloudBaseOperator):
'''
Creates a Google Cloud Translate model.
Creates a `native` translation model, using API V3.
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:TranslateCreateModelOperator`.
:param dat... | 3 | 1 | 31 | 1 | 30 | 0 | 2 | 0.32 | 1 | 9 | 3 | 0 | 2 | 9 | 2 | 3 | 98 | 8 | 68 | 33 | 52 | 22 | 32 | 19 | 29 | 2 | 2 | 1 | 3 |
8,557 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/translate.py | google.cloud.operators.translate.TranslateDatasetsListOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from collections.abc import MutableMapping, MutableSequence, Sequence
from airflow.providers.google.cloud.hooks.translate import CloudTranslateHook, TranslateHook
f... |
class TranslateDatasetsListOperator(GoogleCloudBaseOperator):
'''
Get a list of native Google Cloud Translation datasets in a project.
Get project's list of `native` translation datasets, using API V3.
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:... | 3 | 1 | 24 | 1 | 23 | 0 | 2 | 0.39 | 1 | 8 | 2 | 0 | 2 | 7 | 2 | 3 | 82 | 7 | 54 | 30 | 40 | 21 | 25 | 19 | 22 | 2 | 2 | 1 | 3 |
8,558 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/translate.py | google.cloud.operators.translate.TranslateDeleteDatasetOperator | from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from collections.abc import MutableMapping, MutableSequence, Sequence
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.... |
class TranslateDeleteDatasetOperator(GoogleCloudBaseOperator):
'''
Delete translation dataset and all of its contents.
Deletes the translation dataset and it's data, using API V3.
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:TranslateDeleteDataset... | 3 | 1 | 18 | 0 | 18 | 0 | 1 | 0.47 | 1 | 6 | 1 | 0 | 2 | 8 | 2 | 3 | 68 | 5 | 43 | 26 | 28 | 20 | 18 | 14 | 15 | 1 | 2 | 0 | 2 |
8,559 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/translate.py | google.cloud.operators.translate.TranslateDeleteGlossaryOperator | from collections.abc import MutableMapping, MutableSequence, Sequence
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from google.api_core.exceptions import GoogleAPICallError
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.operato... |
class TranslateDeleteGlossaryOperator(GoogleCloudBaseOperator):
'''
Delete a Google Cloud Translation Glossary.
Deletes a translation glossary, using API V3.
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:TranslateDeleteGlossaryOperator`.
:param... | 3 | 1 | 23 | 1 | 23 | 0 | 2 | 0.42 | 1 | 8 | 2 | 0 | 2 | 8 | 2 | 3 | 81 | 6 | 53 | 29 | 38 | 22 | 25 | 16 | 22 | 2 | 2 | 1 | 3 |
8,560 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/translate.py | google.cloud.operators.translate.TranslateDeleteModelOperator | from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.providers.google.cloud.hooks.translate import CloudTranslateHook, TranslateHook
from collections.abc import MutableMapping, MutableSequence, Sequence
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from air... |
class TranslateDeleteModelOperator(GoogleCloudBaseOperator):
'''
Delete translation model and all of its contents.
Deletes the translation model and it's data, using API V3.
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:TranslateDeleteModelOperator... | 3 | 1 | 18 | 0 | 18 | 0 | 1 | 0.47 | 1 | 6 | 1 | 0 | 2 | 8 | 2 | 3 | 68 | 5 | 43 | 26 | 28 | 20 | 18 | 14 | 15 | 1 | 2 | 0 | 2 |
8,561 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/translate.py | google.cloud.operators.translate.TranslateDocumentBatchOperator | from typing import TYPE_CHECKING, cast
from airflow.providers.google.cloud.links.translate import TranslateResultByOutputConfigLink, TranslateTextBatchLink, TranslationDatasetsListLink, TranslationGlossariesListLink, TranslationModelLink, TranslationModelsListLink, TranslationNativeDatasetLink
from collections.abc impo... |
class TranslateDocumentBatchOperator(GoogleCloudBaseOperator):
'''
Translate documents provided via input and output configurations.
Up to 10 target languages per operation supported.
Wraps the Google cloud Translate Text (Advanced) functionality.
See https://cloud.google.com/translate/docs/advance... | 3 | 1 | 38 | 0 | 38 | 0 | 2 | 0.72 | 1 | 13 | 3 | 0 | 2 | 17 | 2 | 3 | 163 | 12 | 88 | 47 | 64 | 63 | 34 | 25 | 31 | 2 | 2 | 1 | 3 |
8,562 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/translate.py | google.cloud.operators.translate.TranslateDocumentOperator | from typing import TYPE_CHECKING, cast
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from google.api_core.exceptions import GoogleAPICallError
from airflow.exceptions import AirflowException
from g... |
class TranslateDocumentOperator(GoogleCloudBaseOperator):
'''
Translate document provided.
Wraps the Google cloud Translate Text (Advanced) functionality.
Supports wide range of input/output file types, please visit the
https://cloud.google.com/translate/docs/advanced/translate-documents for more d... | 3 | 1 | 39 | 0 | 39 | 0 | 2 | 0.67 | 1 | 11 | 3 | 0 | 2 | 18 | 2 | 3 | 158 | 9 | 89 | 48 | 64 | 60 | 35 | 25 | 32 | 3 | 2 | 1 | 4 |
8,563 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/translate.py | google.cloud.operators.translate.TranslateImportDataOperator | from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.links.translate import TranslateResultByOutputConfigLink, TranslateTextBatchLink, TranslationDatasetsListLink, TranslationGlossariesListLink, TranslationModelLink, TranslationModelsListLink, TranslationNativeDatasetL... |
class TranslateImportDataOperator(GoogleCloudBaseOperator, DatasetImportDataResultsCheckHelper):
'''
Import data to the translation dataset.
Loads data to the translation dataset, using API V3.
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:Translat... | 3 | 1 | 23 | 0 | 23 | 0 | 1 | 0.45 | 1 | 8 | 2 | 0 | 2 | 9 | 2 | 3 | 86 | 6 | 55 | 30 | 39 | 25 | 22 | 17 | 19 | 1 | 2 | 0 | 2 |
8,564 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/translate.py | google.cloud.operators.translate.TranslateListGlossariesOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.exceptions import AirflowException
from collections.abc import MutableMapping, MutableSequence, Sequence
from google.api_core.exceptions import GoogleAPICallError
from airflow.providers.google.cloud.links.translate impo... |
class TranslateListGlossariesOperator(GoogleCloudBaseOperator):
'''
Get a list of translation glossaries in a project.
List the translation glossaries, using translation API V3.
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:TranslateListGlossariesO... | 3 | 1 | 30 | 1 | 30 | 0 | 2 | 0.6 | 1 | 10 | 3 | 0 | 2 | 10 | 2 | 3 | 115 | 8 | 67 | 36 | 50 | 40 | 32 | 21 | 29 | 3 | 2 | 1 | 4 |
8,565 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/translate.py | google.cloud.operators.translate.TranslateModelsListOperator | from collections.abc import MutableMapping, MutableSequence, Sequence
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.... |
class TranslateModelsListOperator(GoogleCloudBaseOperator):
'''
Get a list of native Google Cloud Translation models in a project.
Get project's list of `native` translation models, using API V3.
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:Transl... | 3 | 1 | 23 | 0 | 23 | 0 | 2 | 0.39 | 1 | 8 | 2 | 0 | 2 | 7 | 2 | 3 | 81 | 6 | 54 | 30 | 40 | 21 | 25 | 19 | 22 | 2 | 2 | 1 | 3 |
8,566 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/translate.py | google.cloud.operators.translate.TranslateTextBatchOperator | from airflow.providers.google.cloud.links.translate import TranslateResultByOutputConfigLink, TranslateTextBatchLink, TranslationDatasetsListLink, TranslationGlossariesListLink, TranslationModelLink, TranslationModelsListLink, TranslationNativeDatasetLink
from airflow.providers.google.cloud.hooks.translate import Cloud... |
class TranslateTextBatchOperator(GoogleCloudBaseOperator):
'''
Translate large volumes of text content, by the inputs provided.
Wraps the Google cloud Translate Text (Advanced) functionality.
See https://cloud.google.com/translate/docs/advanced/batch-translation
For more information on how to use t... | 3 | 1 | 32 | 0 | 32 | 0 | 1 | 0.57 | 1 | 10 | 2 | 0 | 2 | 14 | 2 | 3 | 126 | 10 | 74 | 39 | 53 | 42 | 27 | 21 | 24 | 1 | 2 | 0 | 2 |
8,567 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/translate.py | google.cloud.operators.translate.TranslateTextOperator | from airflow.exceptions import AirflowException
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from google.api_core.exceptions import GoogleAPICallError
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc import MutableMapping, M... |
class TranslateTextOperator(GoogleCloudBaseOperator):
'''
Translate text content of moderate amount, for larger volumes of text please use the TranslateTextBatchOperator.
Wraps the Google cloud Translate Text (Advanced) functionality.
See https://cloud.google.com/translate/docs/advanced/translating-tex... | 3 | 1 | 31 | 0 | 31 | 0 | 2 | 0.63 | 1 | 8 | 2 | 0 | 2 | 15 | 2 | 3 | 125 | 8 | 72 | 41 | 50 | 45 | 29 | 21 | 26 | 2 | 2 | 1 | 3 |
8,568 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/translate.py | google.cloud.operators.translate.TranslateUpdateGlossaryOperator | from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.hooks.translate import CloudTranslateHook, TranslateHook
from google.api_core.exceptions import GoogleAPICallError
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.... |
class TranslateUpdateGlossaryOperator(GoogleCloudBaseOperator):
'''
Update glossary item with values provided.
Updates the translation glossary, using translation API V3.
Only ``display_name`` and ``input_config`` fields are allowed for update.
For more information on how to use this operator, take... | 3 | 1 | 29 | 1 | 29 | 0 | 2 | 0.48 | 1 | 9 | 2 | 0 | 2 | 10 | 2 | 3 | 103 | 7 | 65 | 34 | 48 | 31 | 28 | 19 | 25 | 2 | 2 | 1 | 3 |
8,569 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/translate_speech.py | google.cloud.operators.translate_speech.CloudTranslateSpeechOperator | from airflow.providers.google.cloud.hooks.speech_to_text import CloudSpeechToTextHook
from google.protobuf.json_format import MessageToDict
from collections.abc import Sequence
from airflow.exceptions import AirflowException
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from ai... |
class CloudTranslateSpeechOperator(GoogleCloudBaseOperator):
'''
Recognizes speech in audio input and translates it.
Note that it uses the first result from the recognition api response - the one with the highest confidence
In order to see other possible results please use
:ref:`howto/operator:Clou... | 3 | 1 | 36 | 2 | 34 | 1 | 3 | 0.68 | 1 | 10 | 4 | 0 | 2 | 9 | 2 | 3 | 155 | 24 | 78 | 35 | 62 | 53 | 38 | 20 | 35 | 5 | 2 | 1 | 6 |
8,570 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/auto_ml.py | google.cloud.operators.vertex_ai.auto_ml.AutoMLTrainingJobBaseOperator | from typing import TYPE_CHECKING, Any
from collections.abc import Sequence
from airflow.providers.google.cloud.hooks.vertex_ai.auto_ml import AutoMLHook
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
class AutoMLTrainingJobBaseOperator(GoogleCloudBaseOperator):
"""The base ... |
class AutoMLTrainingJobBaseOperator(GoogleCloudBaseOperator):
'''The base class for operators that launch AutoML jobs on VertexAI.'''
def __init__(self, *, project_id: str, region: str, display_name: str, labels: dict[str, str] | None=None, parent_model: str | None=None, is_default_version: bool | None=None, ... | 5 | 2 | 24 | 0 | 22 | 2 | 2 | 0.11 | 1 | 8 | 1 | 4 | 2 | 18 | 2 | 3 | 52 | 2 | 45 | 42 | 21 | 5 | 24 | 21 | 21 | 2 | 2 | 1 | 3 |
8,571 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/auto_ml.py | google.cloud.operators.vertex_ai.auto_ml.CreateAutoMLForecastingTrainingJobOperator | from airflow.providers.google.cloud.hooks.vertex_ai.auto_ml import AutoMLHook
from google.cloud.aiplatform.models import Model
from collections.abc import Sequence
from airflow.providers.google.cloud.links.vertex_ai import VertexAIModelLink, VertexAITrainingLink, VertexAITrainingPipelinesLink
from google.cloud.aiplatfo... |
class CreateAutoMLForecastingTrainingJobOperator(AutoMLTrainingJobBaseOperator):
'''Create AutoML Forecasting Training job.'''
def __init__(self, *, dataset_id: str, target_column: str, time_column: str, time_series_identifier_column: str, unavailable_at_forecast_columns: list[str], available_at_forecast_colu... | 3 | 1 | 69 | 1 | 69 | 1 | 2 | 0.01 | 1 | 11 | 3 | 0 | 2 | 43 | 2 | 5 | 152 | 4 | 147 | 86 | 109 | 2 | 44 | 36 | 41 | 3 | 3 | 1 | 4 |
8,572 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/auto_ml.py | google.cloud.operators.vertex_ai.auto_ml.CreateAutoMLImageTrainingJobOperator | from google.cloud.aiplatform.models import Model
from airflow.providers.google.cloud.links.vertex_ai import VertexAIModelLink, VertexAITrainingLink, VertexAITrainingPipelinesLink
from airflow.providers.google.cloud.hooks.vertex_ai.auto_ml import AutoMLHook
from collections.abc import Sequence
from google.cloud.aiplatfo... |
class CreateAutoMLImageTrainingJobOperator(AutoMLTrainingJobBaseOperator):
'''Create Auto ML Image Training job.'''
def __init__(self, *, dataset_id: str, prediction_type: str='classification', multi_label: bool=False, model_type: str='CLOUD', base_model: Model | None=None, validation_fraction_split: float | ... | 3 | 1 | 39 | 1 | 39 | 1 | 2 | 0.02 | 1 | 9 | 3 | 0 | 2 | 27 | 2 | 5 | 90 | 4 | 85 | 53 | 64 | 2 | 29 | 21 | 26 | 3 | 3 | 1 | 4 |
8,573 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/auto_ml.py | google.cloud.operators.vertex_ai.auto_ml.CreateAutoMLTabularTrainingJobOperator | from google.cloud.aiplatform import datasets
from airflow.providers.google.cloud.links.vertex_ai import VertexAIModelLink, VertexAITrainingLink, VertexAITrainingPipelinesLink
from collections.abc import Sequence
from airflow.providers.google.cloud.hooks.vertex_ai.auto_ml import AutoMLHook
from google.cloud.aiplatform.m... |
class CreateAutoMLTabularTrainingJobOperator(AutoMLTrainingJobBaseOperator):
'''Create Auto ML Tabular Training job.'''
def __init__(self, *, dataset_id: str, target_column: str, optimization_prediction_type: str, optimization_objective: str | None=None, column_specs: dict[str, str] | None=None, column_transf... | 3 | 1 | 55 | 1 | 54 | 1 | 2 | 0.02 | 1 | 11 | 3 | 0 | 2 | 33 | 2 | 5 | 121 | 4 | 116 | 66 | 89 | 2 | 36 | 28 | 33 | 3 | 3 | 1 | 4 |
8,574 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/auto_ml.py | google.cloud.operators.vertex_ai.auto_ml.CreateAutoMLVideoTrainingJobOperator | from collections.abc import Sequence
from airflow.providers.google.cloud.hooks.vertex_ai.auto_ml import AutoMLHook
from airflow.providers.google.cloud.links.vertex_ai import VertexAIModelLink, VertexAITrainingLink, VertexAITrainingPipelinesLink
from google.cloud.aiplatform import datasets
from google.cloud.aiplatform.m... |
class CreateAutoMLVideoTrainingJobOperator(AutoMLTrainingJobBaseOperator):
'''Create Auto ML Video Training job.'''
def __init__(self, *, dataset_id: str, prediction_type: str='classification', model_type: str='CLOUD', training_filter_split: str | None=None, test_filter_split: str | None=None, region: str, im... | 3 | 1 | 30 | 1 | 30 | 1 | 2 | 0.03 | 1 | 6 | 3 | 0 | 2 | 21 | 2 | 5 | 72 | 4 | 67 | 41 | 52 | 2 | 23 | 15 | 20 | 3 | 3 | 1 | 4 |
8,575 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/auto_ml.py | google.cloud.operators.vertex_ai.auto_ml.DeleteAutoMLTrainingJobOperator | from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from google.api_core.exceptions import NotFound
from airflow.providers.google.cloud.hooks.vertex_ai.auto_ml import AutoMLHook
from collections.abc import Sequence
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
... |
class DeleteAutoMLTrainingJobOperator(GoogleCloudBaseOperator):
'''
Delete an AutoML training job.
Can be used with AutoMLForecastingTrainingJob, AutoMLImageTrainingJob,
AutoMLTabularTrainingJob, AutoMLTextTrainingJob, or AutoMLVideoTrainingJob.
'''
def __init__(self, *, training_pipeline_id: ... | 3 | 1 | 15 | 0 | 14 | 0 | 1 | 0.12 | 1 | 6 | 1 | 0 | 3 | 8 | 3 | 4 | 62 | 5 | 51 | 28 | 29 | 6 | 23 | 15 | 19 | 2 | 2 | 1 | 4 |
8,576 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/auto_ml.py | google.cloud.operators.vertex_ai.auto_ml.ListAutoMLTrainingJobOperator | from airflow.providers.google.cloud.hooks.vertex_ai.auto_ml import AutoMLHook
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from collections.abc import Sequence
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from google.cloud.aiplatform_v1.types.training_pi... |
class ListAutoMLTrainingJobOperator(GoogleCloudBaseOperator):
'''
List an AutoML training job.
Can be used with AutoMLForecastingTrainingJob, AutoMLImageTrainingJob, AutoMLTabularTrainingJob,
AutoMLTextTrainingJob, or AutoMLVideoTrainingJob in a Location.
'''
def __init__(self, *, region: str,... | 5 | 1 | 23 | 0 | 23 | 0 | 1 | 0.09 | 1 | 8 | 2 | 0 | 2 | 11 | 2 | 3 | 64 | 4 | 55 | 33 | 37 | 5 | 21 | 18 | 18 | 1 | 2 | 0 | 2 |
8,577 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/batch_prediction_job.py | google.cloud.operators.vertex_ai.batch_prediction_job.CreateBatchPredictionJobOperator | from airflow.providers.google.cloud.links.vertex_ai import VertexAIBatchPredictionJobLink, VertexAIBatchPredictionJobListLink
from airflow.configuration import conf
from collections.abc import Sequence
from functools import cached_property
from airflow.providers.google.cloud.triggers.vertex_ai import CreateBatchPredict... |
class CreateBatchPredictionJobOperator(GoogleCloudBaseOperator):
'''
Creates a BatchPredictionJob. A BatchPredictionJob once created will right away be attempted to start.
:param project_id: Required. The ID of the Google Cloud project that the service belongs to.
:param region: Required. The ID of the... | 9 | 2 | 28 | 1 | 28 | 0 | 2 | 0.8 | 1 | 12 | 4 | 0 | 5 | 27 | 5 | 6 | 265 | 10 | 142 | 71 | 104 | 113 | 59 | 39 | 53 | 2 | 2 | 1 | 8 |
8,578 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/batch_prediction_job.py | google.cloud.operators.vertex_ai.batch_prediction_job.DeleteBatchPredictionJobOperator | from airflow.providers.google.cloud.hooks.vertex_ai.batch_prediction_job import BatchPredictionJobHook
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from google.api_core.exceptions import NotFound
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collecti... |
class DeleteBatchPredictionJobOperator(GoogleCloudBaseOperator):
'''
Deletes a BatchPredictionJob. Can only be called on jobs that already finished.
:param project_id: Required. The ID of the Google Cloud project that the service belongs to.
:param region: Required. The ID of the Google Cloud region th... | 3 | 1 | 21 | 1 | 21 | 0 | 2 | 0.42 | 1 | 6 | 1 | 0 | 2 | 8 | 2 | 3 | 66 | 5 | 43 | 26 | 28 | 18 | 21 | 14 | 18 | 2 | 2 | 1 | 3 |
8,579 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/batch_prediction_job.py | google.cloud.operators.vertex_ai.batch_prediction_job.GetBatchPredictionJobOperator | from collections.abc import Sequence
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from typing import TYPE_CHECKING, Any
from google.api_core.exceptions import NotFound
from airflow.providers.google.cloud.hooks.vertex_ai.batch_prediction_job import BatchPredictionJobHook
from airflow.providers.goo... |
class GetBatchPredictionJobOperator(GoogleCloudBaseOperator):
'''
Gets a BatchPredictionJob.
:param project_id: Required. The ID of the Google Cloud project that the service belongs to.
:param region: Required. The ID of the Google Cloud region that the service belongs to.
:param batch_prediction_j... | 5 | 1 | 23 | 1 | 22 | 0 | 2 | 0.38 | 1 | 7 | 2 | 0 | 2 | 8 | 2 | 3 | 70 | 5 | 47 | 27 | 32 | 18 | 23 | 15 | 20 | 2 | 2 | 1 | 3 |
8,580 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/batch_prediction_job.py | google.cloud.operators.vertex_ai.batch_prediction_job.ListBatchPredictionJobsOperator | from collections.abc import Sequence
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from google.cloud.aiplatform_v1.types import BatchPredictionJob
from airflow.providers.google.cloud.hooks.vertex_ai.batch_prediction_job import BatchPredictionJobHook
from google.api_core.gapic_v... |
class ListBatchPredictionJobsOperator(GoogleCloudBaseOperator):
'''
Lists BatchPredictionJobs in a Location.
:param project_id: Required. The ID of the Google Cloud project that the service belongs to.
:param region: Required. The ID of the Google Cloud region that the service belongs to.
:param fi... | 5 | 1 | 23 | 0 | 23 | 0 | 1 | 0.61 | 1 | 8 | 2 | 0 | 2 | 11 | 2 | 3 | 83 | 4 | 49 | 33 | 31 | 30 | 21 | 18 | 18 | 1 | 2 | 0 | 2 |
8,581 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/custom_job.py | google.cloud.operators.vertex_ai.custom_job.CreateCustomContainerTrainingJobOperator | from collections.abc import Sequence
from google.cloud.aiplatform.models import Model
from google.cloud.aiplatform_v1.types.dataset import Dataset
from airflow.providers.google.cloud.links.vertex_ai import VertexAIModelLink, VertexAITrainingLink, VertexAITrainingPipelinesLink
from airflow.providers.google.cloud.trigger... | null | 4 | 1 | 55 | 1 | 53 | 1 | 3 | 1.52 | 1 | 8 | 3 | 0 | 3 | 53 | 3 | 8 | 456 | 19 | 174 | 77 | 157 | 264 | 30 | 15 | 26 | 5 | 3 | 1 | 8 |
8,582 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/custom_job.py | google.cloud.operators.vertex_ai.custom_job.CreateCustomPythonPackageTrainingJobOperator | from google.cloud.aiplatform_v1.types.dataset import Dataset
from airflow.providers.google.cloud.triggers.vertex_ai import CustomContainerTrainingJobTrigger, CustomPythonPackageTrainingJobTrigger, CustomTrainingJobTrigger
from airflow.configuration import conf
from airflow.providers.google.cloud.links.vertex_ai import ... | null | 4 | 1 | 56 | 1 | 55 | 1 | 3 | 1.52 | 1 | 8 | 3 | 0 | 3 | 54 | 3 | 8 | 456 | 19 | 174 | 79 | 156 | 264 | 31 | 16 | 27 | 5 | 3 | 1 | 8 |
8,583 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/custom_job.py | google.cloud.operators.vertex_ai.custom_job.CreateCustomTrainingJobOperator | from airflow.providers.google.cloud.links.vertex_ai import VertexAIModelLink, VertexAITrainingLink, VertexAITrainingPipelinesLink
from google.cloud.aiplatform_v1.types.dataset import Dataset
from airflow.providers.google.cloud.triggers.vertex_ai import CustomContainerTrainingJobTrigger, CustomPythonPackageTrainingJobTr... | null | 4 | 1 | 56 | 1 | 55 | 1 | 3 | 1.47 | 1 | 8 | 3 | 0 | 3 | 54 | 3 | 8 | 461 | 19 | 179 | 79 | 161 | 264 | 31 | 16 | 27 | 5 | 3 | 1 | 8 |
8,584 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/custom_job.py | google.cloud.operators.vertex_ai.custom_job.CustomTrainingJobBaseOperator | from airflow.providers.google.cloud.links.vertex_ai import VertexAIModelLink, VertexAITrainingLink, VertexAITrainingPipelinesLink
from airflow.exceptions import AirflowException
from functools import cached_property
from airflow.providers.google.cloud.hooks.vertex_ai.custom_job import CustomJobHook
from collections.abc... |
class CustomTrainingJobBaseOperator(GoogleCloudBaseOperator):
'''The base class for operators that launch Custom jobs on VertexAI.'''
def __init__(self, *, project_id: str, region: str, display_name: str, container_uri: str, model_serving_container_image_uri: str | None=None, model_serving_container_predict_r... | 8 | 2 | 35 | 0 | 34 | 2 | 2 | 0.05 | 1 | 13 | 3 | 3 | 4 | 50 | 4 | 5 | 148 | 4 | 137 | 114 | 77 | 7 | 73 | 59 | 68 | 3 | 2 | 1 | 7 |
8,585 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/custom_job.py | google.cloud.operators.vertex_ai.custom_job.DeleteCustomTrainingJobOperator | 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
from airflow.providers.google.cloud.hooks.vertex_ai.custom_job import CustomJobHook
from google.api_core.exceptions import NotF... |
class DeleteCustomTrainingJobOperator(GoogleCloudBaseOperator):
'''
Deletes a CustomTrainingJob, CustomPythonTrainingJob, or CustomContainerTrainingJob.
:param training_pipeline_id: Required. The name of the TrainingPipeline resource to be deleted.
:param custom_job_id: Required. The name of the Custom... | 3 | 1 | 16 | 0 | 15 | 1 | 2 | 0.28 | 1 | 6 | 1 | 0 | 4 | 9 | 4 | 5 | 102 | 6 | 75 | 33 | 45 | 21 | 33 | 18 | 28 | 3 | 2 | 1 | 6 |
8,586 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/custom_job.py | google.cloud.operators.vertex_ai.custom_job.ListCustomTrainingJobOperator | from airflow.providers.google.cloud.links.vertex_ai import VertexAIModelLink, VertexAITrainingLink, VertexAITrainingPipelinesLink
from collections.abc import Sequence
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperat... |
class ListCustomTrainingJobOperator(GoogleCloudBaseOperator):
'''
Lists CustomTrainingJob, CustomPythonTrainingJob, or CustomContainerTrainingJob in a Location.
:param project_id: Required. The ID of the Google Cloud project that the service belongs to.
:param region: Required. The ID of the Google Clo... | 5 | 1 | 23 | 0 | 23 | 0 | 1 | 0.58 | 1 | 8 | 2 | 0 | 2 | 11 | 2 | 3 | 98 | 11 | 55 | 33 | 37 | 32 | 21 | 18 | 18 | 1 | 2 | 0 | 2 |
8,587 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/dataset.py | google.cloud.operators.vertex_ai.dataset.CreateDatasetOperator | from typing import TYPE_CHECKING, Any
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.cloud.links.vertex_ai import VertexAIDatasetLink, VertexAIDatasetListLink
from airflow.providers.google.cloud.hooks.vertex_ai.dataset import DatasetHook
from collec... |
class CreateDatasetOperator(GoogleCloudBaseOperator):
'''
Creates a Dataset.
:param project_id: Required. The ID of the Google Cloud project the cluster belongs to.
:param region: Required. The Cloud Dataproc region in which to handle the request.
:param dataset: Required. The Dataset to create. T... | 5 | 1 | 23 | 2 | 22 | 0 | 1 | 0.41 | 1 | 8 | 2 | 0 | 2 | 8 | 2 | 3 | 72 | 7 | 46 | 30 | 31 | 19 | 24 | 18 | 21 | 1 | 2 | 0 | 2 |
8,588 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/dataset.py | google.cloud.operators.vertex_ai.dataset.DeleteDatasetOperator | from collections.abc import Sequence
from airflow.providers.google.cloud.hooks.vertex_ai.dataset import DatasetHook
from google.api_core.exceptions import NotFound
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
... |
class DeleteDatasetOperator(GoogleCloudBaseOperator):
'''
Deletes a Dataset.
:param project_id: Required. The ID of the Google Cloud project the cluster belongs to.
:param region: Required. The Cloud Dataproc region in which to handle the request.
:param dataset_id: Required. The ID of the Dataset ... | 3 | 1 | 21 | 1 | 21 | 0 | 2 | 0.42 | 1 | 6 | 1 | 0 | 2 | 8 | 2 | 3 | 66 | 5 | 43 | 26 | 28 | 18 | 21 | 14 | 18 | 2 | 2 | 1 | 3 |
8,589 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/dataset.py | google.cloud.operators.vertex_ai.dataset.ExportDataOperator | from airflow.providers.google.cloud.hooks.vertex_ai.dataset import DatasetHook
from google.cloud.aiplatform_v1.types import Dataset, ExportDataConfig, ImportDataConfig
from collections.abc import Sequence
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.operators.c... |
class ExportDataOperator(GoogleCloudBaseOperator):
'''
Exports data from a Dataset.
:param project_id: Required. The ID of the Google Cloud project the cluster belongs to.
:param region: Required. The Cloud Dataproc region in which to handle the request.
:param dataset_id: Required. The ID of the D... | 3 | 1 | 21 | 1 | 21 | 0 | 1 | 0.44 | 1 | 7 | 1 | 0 | 2 | 9 | 2 | 3 | 67 | 5 | 43 | 28 | 27 | 19 | 19 | 15 | 16 | 1 | 2 | 0 | 2 |
8,590 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/dataset.py | google.cloud.operators.vertex_ai.dataset.GetDatasetOperator | from google.api_core.exceptions import NotFound
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc import Sequence
from google.cloud.aiplatform_v1.types import Dataset, ExportDataConfig, ImportDataConfig
from typing import TYPE_CHECKING, Any
from airflow.provide... |
class GetDatasetOperator(GoogleCloudBaseOperator):
'''
Get a Dataset.
:param project_id: Required. The ID of the Google Cloud project the cluster belongs to.
:param region: Required. The Cloud Dataproc region in which to handle the request.
:param dataset_id: Required. The ID of the Dataset to get.... | 5 | 1 | 23 | 1 | 23 | 0 | 2 | 0.38 | 1 | 7 | 2 | 0 | 2 | 9 | 2 | 3 | 71 | 5 | 48 | 29 | 32 | 18 | 24 | 16 | 21 | 2 | 2 | 1 | 3 |
8,591 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/dataset.py | google.cloud.operators.vertex_ai.dataset.ImportDataOperator | from google.cloud.aiplatform_v1.types import Dataset, ExportDataConfig, ImportDataConfig
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from collections.abc import Sequence
from airflow.providers.google.cloud.ho... |
class ImportDataOperator(GoogleCloudBaseOperator, DatasetImportDataResultsCheckHelper):
'''
Imports data into a Dataset.
:param project_id: Required. The ID of the Google Cloud project the cluster belongs to.
:param region: Required. The Cloud Dataproc region in which to handle the request.
:param ... | 3 | 1 | 21 | 1 | 21 | 0 | 1 | 0.47 | 1 | 7 | 1 | 0 | 2 | 9 | 2 | 3 | 68 | 5 | 43 | 28 | 27 | 20 | 19 | 15 | 16 | 1 | 2 | 0 | 2 |
8,592 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/dataset.py | google.cloud.operators.vertex_ai.dataset.ListDatasetsOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc import Sequence
from airflow.providers.google.cloud.links.vertex_ai import VertexAIDatasetLink, VertexAIDatasetListLink
from airflow.providers.google.cloud.hooks.vertex_ai.dataset import DatasetHook
from typing ... |
class ListDatasetsOperator(GoogleCloudBaseOperator):
'''
Lists Datasets in a Location.
:param project_id: Required. The ID of the Google Cloud project that the service belongs to.
:param region: Required. The ID of the Google Cloud region that the service belongs to.
:param filter: The standard lis... | 5 | 1 | 25 | 0 | 25 | 0 | 1 | 0.44 | 1 | 8 | 2 | 0 | 2 | 12 | 2 | 3 | 79 | 4 | 52 | 35 | 33 | 23 | 22 | 19 | 19 | 1 | 2 | 0 | 2 |
8,593 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/dataset.py | google.cloud.operators.vertex_ai.dataset.UpdateDatasetOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from google.cloud.aiplatform_v1.types import Dataset, ExportDataConfig, ImportDataConfig
from collections.abc import Sequence
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.ho... |
class UpdateDatasetOperator(GoogleCloudBaseOperator):
'''
Updates a Dataset.
:param project_id: Required. The ID of the Google Cloud project that the service belongs to.
:param region: Required. The ID of the Google Cloud region that the service belongs to.
:param dataset_id: Required. The ID of th... | 3 | 1 | 22 | 0 | 22 | 0 | 1 | 0.43 | 1 | 7 | 1 | 0 | 2 | 10 | 2 | 3 | 70 | 4 | 46 | 30 | 29 | 20 | 20 | 16 | 17 | 1 | 2 | 0 | 2 |
8,594 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/endpoint_service.py | google.cloud.operators.vertex_ai.endpoint_service.CreateEndpointOperator | from airflow.providers.google.cloud.hooks.vertex_ai.endpoint_service import EndpointServiceHook
from typing import TYPE_CHECKING, Any
from collections.abc import Sequence
from airflow.providers.google.cloud.links.vertex_ai import VertexAIEndpointLink, VertexAIEndpointListLink, VertexAIModelLink
from google.cloud.aiplat... |
class CreateEndpointOperator(GoogleCloudBaseOperator):
'''
Creates an Endpoint.
:param project_id: Required. The ID of the Google Cloud project that the service belongs to.
:param region: Required. The ID of the Google Cloud region that the service belongs to.
:param endpoint: Required. The Endpoin... | 5 | 1 | 25 | 2 | 23 | 0 | 1 | 0.41 | 1 | 8 | 2 | 0 | 2 | 9 | 2 | 3 | 76 | 7 | 49 | 32 | 33 | 20 | 25 | 19 | 22 | 1 | 2 | 0 | 2 |
8,595 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/endpoint_service.py | google.cloud.operators.vertex_ai.endpoint_service.DeleteEndpointOperator | from collections.abc import Sequence
from airflow.providers.google.cloud.hooks.vertex_ai.endpoint_service import EndpointServiceHook
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from google.api_core.exceptions import NotFound
from google.api_core.gapic_v1.method import DEFAULT... |
class DeleteEndpointOperator(GoogleCloudBaseOperator):
'''
Deletes an Endpoint.
:param project_id: Required. The ID of the Google Cloud project that the service belongs to.
:param region: Required. The ID of the Google Cloud region that the service belongs to.
:param endpoint_id: Required. The Endp... | 3 | 1 | 21 | 1 | 21 | 0 | 2 | 0.42 | 1 | 6 | 1 | 0 | 2 | 8 | 2 | 3 | 66 | 5 | 43 | 26 | 28 | 18 | 21 | 14 | 18 | 2 | 2 | 1 | 3 |
8,596 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/endpoint_service.py | google.cloud.operators.vertex_ai.endpoint_service.DeployModelOperator | from typing import TYPE_CHECKING, Any
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.hooks.vertex_ai.endpoint_service import EndpointServiceHook
from google.cloud.aiplatform_v1.types import DeployedModel, Endpoint, endpoint_service
from airflow.providers.google.c... |
class DeployModelOperator(GoogleCloudBaseOperator):
'''
Deploys a Model into this Endpoint, creating a DeployedModel within it.
:param project_id: Required. The ID of the Google Cloud project that the service belongs to.
:param region: Required. The ID of the Google Cloud region that the service belong... | 5 | 1 | 26 | 2 | 25 | 0 | 1 | 0.62 | 1 | 8 | 2 | 0 | 2 | 10 | 2 | 3 | 93 | 9 | 52 | 34 | 35 | 32 | 26 | 20 | 23 | 1 | 2 | 0 | 2 |
8,597 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/endpoint_service.py | google.cloud.operators.vertex_ai.endpoint_service.GetEndpointOperator | from typing import TYPE_CHECKING, Any
from airflow.providers.google.cloud.hooks.vertex_ai.endpoint_service import EndpointServiceHook
from google.api_core.exceptions import NotFound
from collections.abc import Sequence
from airflow.providers.google.cloud.links.vertex_ai import VertexAIEndpointLink, VertexAIEndpointList... |
class GetEndpointOperator(GoogleCloudBaseOperator):
'''
Gets an Endpoint.
:param project_id: Required. The ID of the Google Cloud project that the service belongs to.
:param region: Required. The ID of the Google Cloud region that the service belongs to.
:param endpoint_id: Required. The Endpoint I... | 5 | 1 | 22 | 1 | 21 | 0 | 2 | 0.4 | 1 | 7 | 2 | 0 | 2 | 8 | 2 | 3 | 68 | 5 | 45 | 27 | 30 | 18 | 23 | 15 | 20 | 2 | 2 | 1 | 3 |
8,598 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/endpoint_service.py | google.cloud.operators.vertex_ai.endpoint_service.ListEndpointsOperator | from google.cloud.aiplatform_v1.types import DeployedModel, Endpoint, endpoint_service
from airflow.providers.google.cloud.links.vertex_ai import VertexAIEndpointLink, VertexAIEndpointListLink, VertexAIModelLink
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc... |
class ListEndpointsOperator(GoogleCloudBaseOperator):
'''
Lists Endpoints in a Location.
:param project_id: Required. The ID of the Google Cloud project that the service belongs to.
:param region: Required. The ID of the Google Cloud region that the service belongs to.
:param filter: The standard l... | 5 | 1 | 25 | 0 | 25 | 0 | 1 | 0.71 | 1 | 8 | 2 | 0 | 2 | 12 | 2 | 3 | 95 | 6 | 52 | 35 | 33 | 37 | 22 | 19 | 19 | 1 | 2 | 0 | 2 |
8,599 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/endpoint_service.py | google.cloud.operators.vertex_ai.endpoint_service.UndeployModelOperator | from airflow.providers.google.cloud.hooks.vertex_ai.endpoint_service import EndpointServiceHook
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 UndeployModelOperator(Go... |
class UndeployModelOperator(GoogleCloudBaseOperator):
'''
Undeploys a Model from an Endpoint, removing a DeployedModel from it, and freeing all used resources.
:param project_id: Required. The ID of the Google Cloud project that the service belongs to.
:param region: Required. The ID of the Google Clou... | 3 | 1 | 23 | 1 | 22 | 0 | 1 | 0.54 | 1 | 7 | 1 | 0 | 2 | 10 | 2 | 3 | 76 | 5 | 46 | 30 | 29 | 25 | 20 | 16 | 17 | 1 | 2 | 0 | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.