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,600 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/endpoint_service.py | google.cloud.operators.vertex_ai.endpoint_service.UpdateEndpointOperator | from google.cloud.aiplatform_v1.types import DeployedModel, Endpoint, endpoint_service
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.cloud.links.vertex_ai import VertexAIEndpointLink, VertexAIEndpointListLink, VertexAIModelLink
from google.api_core... |
class UpdateEndpointOperator(GoogleCloudBaseOperator):
'''
Updates 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 ID o... | 5 | 1 | 23 | 0 | 23 | 0 | 1 | 0.44 | 1 | 8 | 2 | 0 | 2 | 10 | 2 | 3 | 73 | 4 | 48 | 31 | 31 | 21 | 22 | 17 | 19 | 1 | 2 | 0 | 2 |
8,601 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/feature_store.py | google.cloud.operators.vertex_ai.feature_store.GetFeatureViewSyncOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from typing import TYPE_CHECKING, Any
from collections.abc import Sequence
from airflow.providers.google.cloud.hooks.vertex_ai.feature_store import FeatureStoreHook
class GetFeatureViewSyncOperator(GoogleCloudBaseOperator):
"""... |
class GetFeatureViewSyncOperator(GoogleCloudBaseOperator):
'''
Retrieve the status and details of a Feature View synchronization operation.
This operator fetches information about a specific feature view sync operation,
including its current status, timing information, and synchronization metrics.
... | 3 | 2 | 14 | 1 | 13 | 1 | 1 | 0.74 | 1 | 6 | 1 | 0 | 2 | 5 | 2 | 3 | 60 | 6 | 31 | 18 | 20 | 23 | 15 | 10 | 12 | 1 | 2 | 0 | 2 |
8,602 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/feature_store.py | google.cloud.operators.vertex_ai.feature_store.SyncFeatureViewOperator | from collections.abc import Sequence
from airflow.providers.google.cloud.hooks.vertex_ai.feature_store import FeatureStoreHook
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
class SyncFeatureViewOperator(GoogleCloudBaseOperator):
"""
Initiate a synchronization operation... |
class SyncFeatureViewOperator(GoogleCloudBaseOperator):
'''
Initiate a synchronization operation for a Feature View in Vertex AI Feature Store.
This operator triggers a sync operation that updates the online serving data for a feature view
based on the latest data in the underlying batch source. The sy... | 3 | 2 | 17 | 1 | 16 | 1 | 1 | 0.64 | 1 | 4 | 1 | 0 | 2 | 7 | 2 | 3 | 70 | 6 | 39 | 22 | 26 | 25 | 16 | 12 | 13 | 1 | 2 | 0 | 2 |
8,603 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/generative_model.py | google.cloud.operators.vertex_ai.generative_model.CountTokensOperator | from airflow.providers.google.cloud.hooks.vertex_ai.generative_model import ExperimentRunHook, GenerativeModelHook
from collections.abc import Sequence
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
class CountTokensOperator(GoogleCloudBaseOperator):
"""
Use the Vertex ... |
class CountTokensOperator(GoogleCloudBaseOperator):
'''
Use the Vertex AI Count Tokens API to calculate the number of input tokens before sending a request to the Gemini API.
:param project_id: Required. The ID of the Google Cloud project that the
service belongs to (templated).
:param location... | 3 | 1 | 18 | 1 | 17 | 0 | 1 | 0.63 | 1 | 5 | 1 | 0 | 2 | 7 | 2 | 3 | 63 | 6 | 35 | 22 | 22 | 22 | 17 | 12 | 14 | 1 | 2 | 0 | 2 |
8,604 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/generative_model.py | google.cloud.operators.vertex_ai.generative_model.CreateCachedContentOperator | from airflow.providers.google.cloud.hooks.vertex_ai.generative_model import ExperimentRunHook, GenerativeModelHook
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from typing import TYPE_CHECKING, Any, Literal
from collections.abc import Sequence
class CreateCachedContentOperato... |
class CreateCachedContentOperator(GoogleCloudBaseOperator):
'''
Create CachedContent to reduce the cost of requests that contain repeat content with high input token counts.
:param project_id: Required. The ID of the Google Cloud project that the service belongs to.
:param location: Required. The ID of... | 3 | 1 | 22 | 2 | 20 | 0 | 1 | 0.41 | 1 | 6 | 1 | 0 | 2 | 10 | 2 | 3 | 77 | 8 | 49 | 28 | 33 | 20 | 18 | 15 | 15 | 1 | 2 | 0 | 2 |
8,605 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/generative_model.py | google.cloud.operators.vertex_ai.generative_model.GenerateFromCachedContentOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc import Sequence
from airflow.providers.google.cloud.hooks.vertex_ai.generative_model import ExperimentRunHook, GenerativeModelHook
class GenerateFromCachedContentOperator(GoogleCloudBaseOperator):
"""
G... |
class GenerateFromCachedContentOperator(GoogleCloudBaseOperator):
'''
Generate a response from CachedContent.
:param project_id: Required. The ID of the Google Cloud project that the service belongs to.
:param location: Required. The ID of the Google Cloud location that the service belongs to.
:par... | 3 | 1 | 20 | 2 | 19 | 0 | 1 | 0.42 | 1 | 6 | 1 | 0 | 2 | 9 | 2 | 3 | 71 | 7 | 45 | 26 | 30 | 19 | 17 | 14 | 14 | 1 | 2 | 0 | 2 |
8,606 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/generative_model.py | google.cloud.operators.vertex_ai.generative_model.GenerativeModelGenerateContentOperator | from collections.abc import Sequence
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.cloud.hooks.vertex_ai.generative_model import ExperimentRunHook, GenerativeModelHook
class GenerativeModelGenerateContentOperator(GoogleCloudBaseOperator):
"""
... |
class GenerativeModelGenerateContentOperator(GoogleCloudBaseOperator):
'''
Use the Vertex AI Gemini Pro foundation model to generate content.
:param project_id: Required. The ID of the Google Cloud project that the
service belongs to (templated).
:param location: Required. The ID of the Google ... | 3 | 1 | 23 | 1 | 22 | 0 | 1 | 0.57 | 1 | 6 | 1 | 0 | 2 | 11 | 2 | 3 | 78 | 6 | 46 | 30 | 29 | 26 | 20 | 16 | 17 | 1 | 2 | 0 | 2 |
8,607 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/generative_model.py | google.cloud.operators.vertex_ai.generative_model.RunEvaluationOperator | from collections.abc import Sequence
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.cloud.hooks.vertex_ai.generative_model import ExperimentRunHook, GenerativeModelHook
class RunEvaluationOperator(GoogleCloudBaseOperator):
"""
Use the Rapid... |
class RunEvaluationOperator(GoogleCloudBaseOperator):
'''
Use the Rapid Evaluation API to evaluate a model.
:param project_id: Required. The ID of the Google Cloud project that the service belongs to.
:param location: Required. The ID of the Google Cloud location that the service belongs to.
:param... | 3 | 1 | 28 | 1 | 27 | 0 | 1 | 0.4 | 1 | 6 | 1 | 0 | 2 | 15 | 2 | 3 | 97 | 6 | 65 | 38 | 44 | 26 | 22 | 20 | 19 | 1 | 2 | 0 | 2 |
8,608 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/generative_model.py | google.cloud.operators.vertex_ai.generative_model.SupervisedFineTuningTrainOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc import Sequence
from typing import TYPE_CHECKING, Any, Literal
from airflow.providers.google.cloud.hooks.vertex_ai.generative_model import ExperimentRunHook, GenerativeModelHook
class SupervisedFineTuningTrainO... |
class SupervisedFineTuningTrainOperator(GoogleCloudBaseOperator):
'''
Use the Supervised Fine Tuning API to create a tuning job.
:param project_id: Required. The ID of the Google Cloud project that the
service belongs to.
:param location: Required. The ID of the Google Cloud location that the s... | 3 | 1 | 29 | 2 | 27 | 0 | 1 | 0.55 | 1 | 6 | 1 | 0 | 2 | 12 | 2 | 3 | 93 | 8 | 55 | 33 | 37 | 30 | 24 | 18 | 21 | 1 | 2 | 0 | 2 |
8,609 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/generative_model.py | google.cloud.operators.vertex_ai.generative_model.TextEmbeddingModelGetEmbeddingsOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc import Sequence
from airflow.providers.google.cloud.hooks.vertex_ai.generative_model import ExperimentRunHook, GenerativeModelHook
class TextEmbeddingModelGetEmbeddingsOperator(GoogleCloudBaseOperator):
"""... |
class TextEmbeddingModelGetEmbeddingsOperator(GoogleCloudBaseOperator):
'''
Uses the Vertex AI Embeddings API to generate embeddings based on prompt.
:param project_id: Required. The ID of the Google Cloud project that the
service belongs to (templated).
:param location: Required. The ID of the... | 3 | 1 | 18 | 2 | 17 | 0 | 1 | 0.57 | 1 | 4 | 1 | 0 | 2 | 7 | 2 | 3 | 62 | 7 | 35 | 22 | 22 | 20 | 17 | 12 | 14 | 1 | 2 | 0 | 2 |
8,610 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/hyperparameter_tuning_job.py | google.cloud.operators.vertex_ai.hyperparameter_tuning_job.CreateHyperparameterTuningJobOperator | from airflow.exceptions import AirflowException
from airflow.providers.google.cloud.links.vertex_ai import VertexAIHyperparameterTuningJobListLink, VertexAITrainingLink
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc import Sequence
from airflow.configuration... |
class CreateHyperparameterTuningJobOperator(GoogleCloudBaseOperator):
'''
Create Hyperparameter Tuning job.
:param project_id: Required. The ID of the Google Cloud project that the service belongs to.
:param region: Required. The ID of the Google Cloud region that the service belongs to.
:param dis... | 5 | 2 | 35 | 1 | 32 | 2 | 2 | 0.7 | 1 | 12 | 4 | 0 | 4 | 28 | 4 | 5 | 244 | 12 | 137 | 69 | 101 | 96 | 56 | 38 | 51 | 2 | 2 | 1 | 7 |
8,611 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/hyperparameter_tuning_job.py | google.cloud.operators.vertex_ai.hyperparameter_tuning_job.DeleteHyperparameterTuningJobOperator | from collections.abc import Sequence
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.cloud.hooks.vertex_ai.hyperparameter_tuning_job import HyperparameterTuningJobHook
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from google.ap... |
class DeleteHyperparameterTuningJobOperator(GoogleCloudBaseOperator):
'''
Deletes a HyperparameterTuningJob.
: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 hy... | 3 | 1 | 22 | 0 | 22 | 0 | 2 | 0.22 | 1 | 6 | 1 | 0 | 2 | 8 | 2 | 3 | 59 | 4 | 45 | 26 | 30 | 10 | 21 | 14 | 18 | 2 | 2 | 1 | 3 |
8,612 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/hyperparameter_tuning_job.py | google.cloud.operators.vertex_ai.hyperparameter_tuning_job.GetHyperparameterTuningJobOperator | from google.cloud.aiplatform_v1 import types
from airflow.providers.google.cloud.links.vertex_ai import VertexAIHyperparameterTuningJobListLink, VertexAITrainingLink
from airflow.providers.google.cloud.hooks.vertex_ai.hyperparameter_tuning_job import HyperparameterTuningJobHook
from airflow.providers.google.cloud.opera... |
class GetHyperparameterTuningJobOperator(GoogleCloudBaseOperator):
'''
Gets a HyperparameterTuningJob.
: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 hyperpar... | 3 | 1 | 24 | 1 | 23 | 0 | 2 | 0.37 | 1 | 7 | 2 | 0 | 2 | 8 | 2 | 3 | 72 | 5 | 49 | 27 | 34 | 18 | 23 | 15 | 20 | 2 | 2 | 1 | 3 |
8,613 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/hyperparameter_tuning_job.py | google.cloud.operators.vertex_ai.hyperparameter_tuning_job.ListHyperparameterTuningJobOperator | from airflow.providers.google.cloud.hooks.vertex_ai.hyperparameter_tuning_job import HyperparameterTuningJobHook
from typing import TYPE_CHECKING, Any
from airflow.providers.google.cloud.links.vertex_ai import VertexAIHyperparameterTuningJobListLink, VertexAITrainingLink
from collections.abc import Sequence
from google... |
class ListHyperparameterTuningJobOperator(GoogleCloudBaseOperator):
'''
Lists HyperparameterTuningJobs 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.
... | 5 | 1 | 23 | 0 | 23 | 0 | 1 | 0.4 | 1 | 8 | 2 | 0 | 2 | 11 | 2 | 3 | 78 | 4 | 53 | 33 | 35 | 21 | 21 | 18 | 18 | 1 | 2 | 0 | 2 |
8,614 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/model_service.py | google.cloud.operators.vertex_ai.model_service.AddVersionAliasesOnModelOperator | from airflow.providers.google.cloud.links.vertex_ai import VertexAIModelExportLink, VertexAIModelLink, VertexAIModelListLink
from collections.abc import Sequence
from google.cloud.aiplatform_v1.types import Model, model_service
from airflow.providers.google.cloud.hooks.vertex_ai.model_service import ModelServiceHook
fr... |
class AddVersionAliasesOnModelOperator(GoogleCloudBaseOperator):
'''
Adds version aliases for the Model.
: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 model_... | 5 | 1 | 22 | 1 | 22 | 0 | 1 | 0.46 | 1 | 7 | 2 | 0 | 2 | 9 | 2 | 3 | 72 | 5 | 46 | 29 | 30 | 21 | 20 | 16 | 17 | 1 | 2 | 0 | 2 |
8,615 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/model_service.py | google.cloud.operators.vertex_ai.model_service.DeleteModelOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc import Sequence
from google.api_core.exceptions import NotFound
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.hooks.vertex_ai.model_service import ModelS... |
class DeleteModelOperator(GoogleCloudBaseOperator):
'''
Deletes a Model.
: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 model_id: Required. The ID of the Mode... | 3 | 1 | 21 | 0 | 21 | 0 | 2 | 0.48 | 1 | 6 | 1 | 0 | 2 | 8 | 2 | 3 | 69 | 4 | 44 | 26 | 29 | 21 | 22 | 14 | 19 | 3 | 2 | 1 | 4 |
8,616 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/model_service.py | google.cloud.operators.vertex_ai.model_service.DeleteModelVersionOperator | from google.api_core.exceptions import NotFound
from collections.abc import Sequence
from airflow.providers.google.cloud.hooks.vertex_ai.model_service import ModelServiceHook
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBa... |
class DeleteModelVersionOperator(GoogleCloudBaseOperator):
'''
Delete Model version 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 model_id: Re... | 3 | 1 | 21 | 1 | 21 | 0 | 2 | 0.49 | 1 | 6 | 1 | 0 | 2 | 8 | 2 | 3 | 69 | 5 | 43 | 26 | 28 | 21 | 21 | 14 | 18 | 2 | 2 | 1 | 3 |
8,617 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/model_service.py | google.cloud.operators.vertex_ai.model_service.DeleteVersionAliasesOnModelOperator | from typing import TYPE_CHECKING, Any
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from google.cloud.aiplatform_v1.types import Model, model_service
from collections.abc import Sequence
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.... |
class DeleteVersionAliasesOnModelOperator(GoogleCloudBaseOperator):
'''
Deletes version aliases for the Model.
: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 ... | 5 | 1 | 23 | 1 | 23 | 0 | 1 | 0.44 | 1 | 7 | 2 | 0 | 2 | 9 | 2 | 3 | 74 | 5 | 48 | 29 | 32 | 21 | 20 | 16 | 17 | 1 | 2 | 0 | 2 |
8,618 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/model_service.py | google.cloud.operators.vertex_ai.model_service.ExportModelOperator | from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.links.vertex_ai import VertexAIModelExportLink, VertexAIModelLink, VertexAIModelListLink
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from google.cloud.aiplatform_v1.types i... |
class ExportModelOperator(GoogleCloudBaseOperator):
'''
Exports a trained, exportable Model to a location specified by the user.
: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 belon... | 3 | 1 | 23 | 1 | 23 | 0 | 2 | 0.46 | 1 | 8 | 2 | 0 | 2 | 9 | 2 | 3 | 75 | 5 | 48 | 29 | 32 | 22 | 24 | 16 | 21 | 2 | 2 | 1 | 3 |
8,619 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/model_service.py | google.cloud.operators.vertex_ai.model_service.GetModelOperator | from google.api_core.exceptions import NotFound
from collections.abc import Sequence
from google.cloud.aiplatform_v1.types import Model, model_service
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.cloud.hooks.vertex_ai.model_service import ModelSer... |
class GetModelOperator(GoogleCloudBaseOperator):
'''
Retrieves a Model.
: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 model_id: Required. The ID of the Model... | 5 | 1 | 23 | 1 | 22 | 0 | 2 | 0.45 | 1 | 7 | 2 | 0 | 2 | 8 | 2 | 3 | 73 | 5 | 47 | 27 | 32 | 21 | 25 | 15 | 22 | 3 | 2 | 1 | 4 |
8,620 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/model_service.py | google.cloud.operators.vertex_ai.model_service.ListModelVersionsOperator | from collections.abc import Sequence
from google.cloud.aiplatform_v1.types import Model, model_service
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.hooks.vertex_ai.model_ser... |
class ListModelVersionsOperator(GoogleCloudBaseOperator):
'''
Lists Model versions 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 model_id: Req... | 3 | 1 | 21 | 0 | 21 | 0 | 2 | 0.49 | 1 | 6 | 1 | 0 | 2 | 8 | 2 | 3 | 68 | 4 | 43 | 28 | 28 | 21 | 21 | 16 | 18 | 2 | 2 | 1 | 3 |
8,621 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/model_service.py | google.cloud.operators.vertex_ai.model_service.ListModelsOperator | from typing import TYPE_CHECKING, Any
from collections.abc import Sequence
from airflow.providers.google.cloud.hooks.vertex_ai.model_service import ModelServiceHook
from google.cloud.aiplatform_v1.types import Model, model_service
from airflow.providers.google.cloud.links.vertex_ai import VertexAIModelExportLink, Verte... |
class ListModelsOperator(GoogleCloudBaseOperator):
'''
Lists Models 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 retry: Designation of what e... | 5 | 1 | 25 | 0 | 25 | 0 | 1 | 0.67 | 1 | 8 | 2 | 0 | 2 | 12 | 2 | 3 | 91 | 4 | 52 | 35 | 33 | 35 | 22 | 19 | 19 | 1 | 2 | 0 | 2 |
8,622 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/model_service.py | google.cloud.operators.vertex_ai.model_service.SetDefaultVersionOnModelOperator | from collections.abc import Sequence
from typing import TYPE_CHECKING, Any
from airflow.providers.google.cloud.links.vertex_ai import VertexAIModelExportLink, VertexAIModelLink, VertexAIModelListLink
from airflow.providers.google.cloud.hooks.vertex_ai.model_service import ModelServiceHook
from google.api_core.gapic_v1.... |
class SetDefaultVersionOnModelOperator(GoogleCloudBaseOperator):
'''
Sets the desired Model version as Default.
: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... | 5 | 1 | 21 | 1 | 20 | 0 | 1 | 0.49 | 1 | 7 | 2 | 0 | 2 | 8 | 2 | 3 | 70 | 6 | 43 | 27 | 28 | 21 | 19 | 15 | 16 | 1 | 2 | 0 | 2 |
8,623 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/model_service.py | google.cloud.operators.vertex_ai.model_service.UploadModelOperator | from collections.abc import Sequence
from typing import TYPE_CHECKING, Any
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.links.vertex_ai import VertexAIModelExportLink, VertexAIModelLink, VertexAIModelListLink
from airflow.providers.google.cloud.operators.cloud_... |
class UploadModelOperator(GoogleCloudBaseOperator):
'''
Uploads a Model artifact into Vertex AI.
: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 model: Require... | 5 | 1 | 24 | 1 | 23 | 0 | 1 | 0.41 | 1 | 8 | 2 | 0 | 2 | 9 | 2 | 3 | 75 | 6 | 49 | 32 | 33 | 20 | 25 | 19 | 22 | 1 | 2 | 0 | 2 |
8,624 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/pipeline_job.py | google.cloud.operators.vertex_ai.pipeline_job.DeletePipelineJobOperator | from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from collections.abc import Sequence
from google.api_core.exceptions import NotFound
from airflow.providers.google.cloud.hooks.vertex_ai.pipeline_job import PipelineJobHook
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBase... |
class DeletePipelineJobOperator(GoogleCloudBaseOperator):
'''
Delete a Pipeline job.
:param project_id: Required. The ID of the Google Cloud project that the service belongs to.
:param region: Required. The ID of the Google Cloud region that the service belongs to.
:param pipeline_job_id: Required.... | 3 | 1 | 21 | 0 | 21 | 0 | 2 | 0.38 | 1 | 6 | 1 | 0 | 2 | 8 | 2 | 3 | 70 | 4 | 48 | 26 | 33 | 18 | 21 | 14 | 18 | 2 | 2 | 1 | 3 |
8,625 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/pipeline_job.py | google.cloud.operators.vertex_ai.pipeline_job.GetPipelineJobOperator | from collections.abc import Sequence
from google.cloud.aiplatform_v1 import types
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from typing import TYPE_CHECKING, Any
from airflow.providers.google.cloud.hooks.vertex_ai.pipeline_job import PipelineJobHook
from google.api_core.gap... |
class GetPipelineJobOperator(GoogleCloudBaseOperator):
'''
Get a Pipeline job.
:param project_id: Required. The ID of the Google Cloud project that the service belongs to.
:param region: Required. The ID of the Google Cloud region that the service belongs to.
:param pipeline_job_id: Required. The I... | 5 | 1 | 23 | 1 | 22 | 0 | 2 | 0.35 | 1 | 7 | 2 | 0 | 2 | 8 | 2 | 3 | 76 | 6 | 52 | 27 | 37 | 18 | 23 | 15 | 20 | 2 | 2 | 1 | 3 |
8,626 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/pipeline_job.py | google.cloud.operators.vertex_ai.pipeline_job.ListPipelineJobOperator | from google.cloud.aiplatform_v1 import types
from typing import TYPE_CHECKING, Any
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.hooks.vertex_ai.pipeline_job import PipelineJ... |
class ListPipelineJobOperator(GoogleCloudBaseOperator):
'''
Lists PipelineJob 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: Optional. ... | 5 | 1 | 23 | 0 | 23 | 0 | 1 | 1.13 | 1 | 8 | 2 | 0 | 2 | 11 | 2 | 3 | 125 | 8 | 55 | 33 | 37 | 62 | 21 | 18 | 18 | 1 | 2 | 0 | 2 |
8,627 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/pipeline_job.py | google.cloud.operators.vertex_ai.pipeline_job.RunPipelineJobOperator | from airflow.providers.google.cloud.hooks.vertex_ai.pipeline_job import PipelineJobHook
from airflow.providers.google.cloud.triggers.vertex_ai import RunPipelineJobTrigger
from airflow.configuration import conf
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.provider... |
class RunPipelineJobOperator(GoogleCloudBaseOperator):
'''
Create and run a Pipeline job.
:param project_id: Required. The ID of the Google Cloud project that the service belongs to.
:param region: Required. The ID of the Google Cloud region that the service belongs to.
:param display_name: Require... | 9 | 2 | 20 | 0 | 20 | 0 | 2 | 0.56 | 1 | 12 | 4 | 0 | 5 | 20 | 5 | 6 | 176 | 9 | 107 | 56 | 76 | 60 | 47 | 31 | 41 | 2 | 2 | 1 | 8 |
8,628 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/video_intelligence.py | google.cloud.operators.video_intelligence.CloudVideoIntelligenceDetectVideoExplicitContentOperator | from collections.abc import Sequence
from airflow.providers.google.cloud.hooks.video_intelligence import CloudVideoIntelligenceHook
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... |
class CloudVideoIntelligenceDetectVideoExplicitContentOperator(GoogleCloudBaseOperator):
'''
Performs video annotation, annotating explicit content.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudVideoIntelligenceDetectVide... | 3 | 1 | 21 | 0 | 21 | 0 | 1 | 0.69 | 1 | 7 | 1 | 0 | 2 | 9 | 2 | 3 | 88 | 5 | 49 | 29 | 33 | 34 | 20 | 16 | 17 | 1 | 2 | 0 | 2 |
8,629 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/video_intelligence.py | google.cloud.operators.video_intelligence.CloudVideoIntelligenceDetectVideoLabelsOperator | from airflow.providers.google.cloud.hooks.video_intelligence import CloudVideoIntelligenceHook
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from collections.abc import Sequence
from google.cloud.videointelligence_v1 import Feature, VideoContext
from google.protobuf.json_format import MessageToDic... |
class CloudVideoIntelligenceDetectVideoLabelsOperator(GoogleCloudBaseOperator):
'''
Performs video annotation, annotating video labels.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudVideoIntelligenceDetectVideoLabelsOperat... | 3 | 1 | 21 | 0 | 21 | 0 | 1 | 0.69 | 1 | 7 | 1 | 0 | 2 | 9 | 2 | 3 | 88 | 5 | 49 | 29 | 33 | 34 | 20 | 16 | 17 | 1 | 2 | 0 | 2 |
8,630 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/video_intelligence.py | google.cloud.operators.video_intelligence.CloudVideoIntelligenceDetectVideoShotsOperator | from google.protobuf.json_format import MessageToDict
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.video_intelligence import Cloud... |
class CloudVideoIntelligenceDetectVideoShotsOperator(GoogleCloudBaseOperator):
'''
Performs video annotation, annotating video shots.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudVideoIntelligenceDetectVideoShotsOperator`... | 3 | 1 | 21 | 0 | 21 | 0 | 1 | 0.69 | 1 | 7 | 1 | 0 | 2 | 9 | 2 | 3 | 88 | 5 | 49 | 29 | 33 | 34 | 20 | 16 | 17 | 1 | 2 | 0 | 2 |
8,631 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vision.py | google.cloud.operators.vision.CloudVisionAddProductToProductSetOperator | 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.hooks.vision import CloudVisionHook
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collec... |
class CloudVisionAddProductToProductSetOperator(GoogleCloudBaseOperator):
'''
Add a Product to the specified ProductSet.
If the Product is already present, no change is made. One Product can be
added to at most 100 ProductSets.
Possible errors:
- Returns `NOT_FOUND` if the Product or the Produc... | 3 | 1 | 19 | 0 | 19 | 0 | 1 | 0.7 | 1 | 5 | 1 | 0 | 2 | 9 | 2 | 3 | 88 | 8 | 47 | 27 | 31 | 33 | 16 | 14 | 13 | 1 | 2 | 0 | 2 |
8,632 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vision.py | google.cloud.operators.vision.CloudVisionCreateProductOperator | from collections.abc import Sequence
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.hooks.vision import CloudVisionHook
from google.api_core.exceptions import AlreadyExists
fr... |
class CloudVisionCreateProductOperator(GoogleCloudBaseOperator):
'''
Create and return a new product resource.
Possible errors regarding the ``Product`` object provided:
- Returns ``INVALID_ARGUMENT`` if ``display_name`` is missing or longer than 4096 characters.
- Returns ``INVALID_ARGUMENT`` if `... | 3 | 1 | 22 | 0 | 22 | 0 | 2 | 0.71 | 1 | 5 | 1 | 0 | 2 | 9 | 2 | 3 | 96 | 7 | 52 | 27 | 36 | 37 | 20 | 14 | 17 | 2 | 2 | 1 | 3 |
8,633 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vision.py | google.cloud.operators.vision.CloudVisionCreateProductSetOperator | from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from google.api_core.exceptions import AlreadyExists
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from google.cloud.vision_v1 import AnnotateImageRequest, Image, Product, ProductSet, ReferenceImage
from collections.a... |
class CloudVisionCreateProductSetOperator(GoogleCloudBaseOperator):
'''
Create a new ProductSet resource.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudVisionCreateProductSetOperator`
:param product_set: (Required) The... | 3 | 1 | 23 | 0 | 23 | 0 | 2 | 0.62 | 1 | 6 | 1 | 0 | 2 | 9 | 2 | 3 | 91 | 5 | 53 | 27 | 37 | 33 | 20 | 14 | 17 | 2 | 2 | 1 | 3 |
8,634 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vision.py | google.cloud.operators.vision.CloudVisionCreateReferenceImageOperator | from google.api_core.exceptions import AlreadyExists
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from google.cloud.vision_v1 import AnnotateImageRequest, Image, Product, ProductSet, ReferenceImage
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from collections.a... |
class CloudVisionCreateReferenceImageOperator(GoogleCloudBaseOperator):
'''
Create and return a new ReferenceImage ID resource.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudVisionCreateReferenceImageOperator`
:param l... | 3 | 1 | 26 | 1 | 25 | 0 | 2 | 0.6 | 1 | 6 | 1 | 0 | 2 | 10 | 2 | 3 | 102 | 6 | 60 | 29 | 43 | 36 | 23 | 15 | 20 | 3 | 2 | 2 | 4 |
8,635 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vision.py | google.cloud.operators.vision.CloudVisionDeleteProductOperator | from collections.abc import Sequence
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.vision import CloudVisionHook
from airflow.providers.google.common.hooks.base_google ... |
class CloudVisionDeleteProductOperator(GoogleCloudBaseOperator):
'''
Permanently delete a product and its reference images.
Metadata of the product and all its images will be deleted right away, but
search queries against ProductSets containing the product may still work
until all related caches ar... | 3 | 1 | 18 | 0 | 18 | 0 | 1 | 0.77 | 1 | 5 | 1 | 0 | 2 | 8 | 2 | 3 | 84 | 8 | 43 | 25 | 28 | 33 | 15 | 13 | 12 | 1 | 2 | 0 | 2 |
8,636 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vision.py | google.cloud.operators.vision.CloudVisionDeleteProductSetOperator | from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from collections.abc import Sequence
from airflow.providers.google.cloud.hooks.vision import CloudVisionHook
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from google.api_core.gapic_v1.method impor... |
class CloudVisionDeleteProductSetOperator(GoogleCloudBaseOperator):
'''
Permanently deletes a ``ProductSet``.
``Products`` and ``ReferenceImages`` in the ``ProductSet`` are not deleted.
The actual image files are not deleted from Google Cloud Storage.
.. seealso::
For more information on ho... | 3 | 1 | 18 | 0 | 18 | 0 | 1 | 0.7 | 1 | 5 | 1 | 0 | 2 | 8 | 2 | 3 | 79 | 6 | 43 | 25 | 28 | 30 | 15 | 13 | 12 | 1 | 2 | 0 | 2 |
8,637 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vision.py | google.cloud.operators.vision.CloudVisionDeleteReferenceImageOperator | 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.vision import CloudVisionHook
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from collec... |
class CloudVisionDeleteReferenceImageOperator(GoogleCloudBaseOperator):
'''
Delete a ReferenceImage ID resource.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudVisionDeleteReferenceImageOperator`
:param location: (Requi... | 3 | 1 | 19 | 0 | 19 | 0 | 1 | 0.68 | 1 | 5 | 1 | 0 | 2 | 9 | 2 | 3 | 84 | 5 | 47 | 27 | 31 | 32 | 16 | 14 | 13 | 1 | 2 | 0 | 2 |
8,638 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vision.py | google.cloud.operators.vision.CloudVisionDetectImageLabelsOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from google.cloud.vision_v1 import AnnotateImageRequest, Image, Product, ProductSet, ReferenceImage
from airflow.providers.google.cloud.hooks.vision import CloudVisionHook
from google.api_core.gapic_v1.method import DEFAULT, _Method... |
class CloudVisionDetectImageLabelsOperator(GoogleCloudBaseOperator):
'''
Detect Document Text in the image.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudVisionDetectImageLabelsOperator`
:param image: (Required) The im... | 3 | 1 | 16 | 0 | 16 | 0 | 1 | 0.64 | 1 | 7 | 1 | 0 | 2 | 7 | 2 | 3 | 69 | 5 | 39 | 22 | 26 | 25 | 14 | 12 | 11 | 1 | 2 | 0 | 2 |
8,639 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vision.py | google.cloud.operators.vision.CloudVisionDetectImageSafeSearchOperator | from collections.abc import Sequence
from airflow.providers.google.cloud.hooks.vision import CloudVisionHook
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from google.cloud.vision_v1 import AnnotateImageRequest... |
class CloudVisionDetectImageSafeSearchOperator(GoogleCloudBaseOperator):
'''
Detect Document Text in the image.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudVisionDetectImageSafeSearchOperator`
:param image: (Required... | 3 | 1 | 16 | 0 | 16 | 0 | 1 | 0.64 | 1 | 7 | 1 | 0 | 2 | 7 | 2 | 3 | 69 | 5 | 39 | 22 | 26 | 25 | 14 | 12 | 11 | 1 | 2 | 0 | 2 |
8,640 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vision.py | google.cloud.operators.vision.CloudVisionDetectTextOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc import Sequence
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.hooks.vision import CloudVisionHook
from google.cloud.vision_v1 import AnnotateImageRequest... |
class CloudVisionDetectTextOperator(GoogleCloudBaseOperator):
'''
Detect Text in the image.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudVisionDetectTextOperator`
:param image: (Required) The image to analyze. See mor... | 3 | 1 | 19 | 0 | 19 | 0 | 1 | 0.63 | 1 | 8 | 1 | 0 | 2 | 8 | 2 | 3 | 80 | 5 | 46 | 25 | 31 | 29 | 15 | 13 | 12 | 1 | 2 | 0 | 2 |
8,641 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vision.py | google.cloud.operators.vision.CloudVisionGetProductOperator | from airflow.providers.google.cloud.hooks.vision import CloudVisionHook
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 google.api_core.gapic_v1.method impor... |
class CloudVisionGetProductOperator(GoogleCloudBaseOperator):
'''
Get information associated with a ``Product``.
Possible errors:
- Returns `NOT_FOUND` if the `Product` does not exist.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`how... | 3 | 1 | 18 | 0 | 18 | 0 | 1 | 0.7 | 1 | 5 | 1 | 0 | 2 | 8 | 2 | 3 | 80 | 7 | 43 | 25 | 28 | 30 | 15 | 13 | 12 | 1 | 2 | 0 | 2 |
8,642 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vision.py | google.cloud.operators.vision.CloudVisionGetProductSetOperator | 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.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.providers.google.cloud.hooks.visi... |
class CloudVisionGetProductSetOperator(GoogleCloudBaseOperator):
'''
Get information associated with a ProductSet.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudVisionGetProductSetOperator`
:param location: (Required) ... | 3 | 1 | 18 | 0 | 18 | 0 | 1 | 0.65 | 1 | 5 | 1 | 0 | 2 | 8 | 2 | 3 | 76 | 5 | 43 | 25 | 28 | 28 | 15 | 13 | 12 | 1 | 2 | 0 | 2 |
8,643 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vision.py | google.cloud.operators.vision.CloudVisionImageAnnotateOperator | from google.cloud.vision_v1 import AnnotateImageRequest, Image, Product, ProductSet, ReferenceImage
from airflow.providers.google.cloud.hooks.vision import CloudVisionHook
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc import Sequence
from google.api_core.ga... |
class CloudVisionImageAnnotateOperator(GoogleCloudBaseOperator):
'''
Run image detection and annotation for an image or a batch of images.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudVisionImageAnnotateOperator`
:par... | 3 | 1 | 15 | 1 | 14 | 0 | 2 | 0.74 | 1 | 7 | 1 | 0 | 2 | 5 | 2 | 3 | 66 | 7 | 34 | 20 | 22 | 25 | 15 | 11 | 12 | 2 | 2 | 1 | 3 |
8,644 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vision.py | google.cloud.operators.vision.CloudVisionRemoveProductFromProductSetOperator | from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.providers.google.cloud.hooks.vision import CloudVisionHook
from collections.abc import Sequence
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from google.api_core.gapic_v1.method impor... |
class CloudVisionRemoveProductFromProductSetOperator(GoogleCloudBaseOperator):
'''
Remove a Product from the specified ProductSet.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudVisionRemoveProductFromProductSetOperator`
... | 3 | 1 | 19 | 0 | 19 | 0 | 1 | 0.62 | 1 | 5 | 1 | 0 | 2 | 9 | 2 | 3 | 81 | 5 | 47 | 27 | 31 | 29 | 16 | 14 | 13 | 1 | 2 | 0 | 2 |
8,645 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vision.py | google.cloud.operators.vision.CloudVisionTextDetectOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from collections.abc import Sequence
from google.cloud.vision_v1 import AnnotateImageRequest, Image, Product, ProductSet, ReferenceImage
from airflow.providers.google.cloud.hooks.vision import CloudVisionHook
from google.api_core.ga... |
class CloudVisionTextDetectOperator(GoogleCloudBaseOperator):
'''
Detect Document Text in the image.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudVisionTextDetectOperator`
:param image: (Required) The image to analyze... | 3 | 1 | 19 | 0 | 19 | 0 | 1 | 0.67 | 1 | 8 | 1 | 0 | 2 | 7 | 2 | 3 | 79 | 5 | 45 | 24 | 30 | 30 | 14 | 12 | 11 | 1 | 2 | 0 | 2 |
8,646 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vision.py | google.cloud.operators.vision.CloudVisionUpdateProductOperator | from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from collections.abc import Sequence
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from google.cloud.vision_v1 import AnnotateImageRequest, Image, Product, ProductSet, ReferenceImage
from airflow.p... |
class CloudVisionUpdateProductOperator(GoogleCloudBaseOperator):
'''
Make changes to a Product resource.
Only the display_name, description, and labels fields can be updated right now.
If labels are updated, the change will not be reflected in queries until the next index time.
.. note:: To locate ... | 3 | 1 | 21 | 1 | 21 | 1 | 1 | 1.04 | 1 | 6 | 1 | 0 | 2 | 10 | 2 | 3 | 112 | 13 | 49 | 29 | 32 | 51 | 17 | 15 | 14 | 1 | 2 | 0 | 2 |
8,647 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/vision.py | google.cloud.operators.vision.CloudVisionUpdateProductSetOperator | from airflow.providers.google.cloud.hooks.vision import CloudVisionHook
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from google.cloud.vision_v1 import AnnotateImageRequest, Image, Product, ProductSet, ReferenceImage
from collections.abc import Sequence
from google.api_core.ga... |
class CloudVisionUpdateProductSetOperator(GoogleCloudBaseOperator):
'''
Make changes to a `ProductSet` resource.
Only ``display_name`` can be updated currently.
.. note:: To locate the ``ProductSet`` resource, its ``name`` in the form
`projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SE... | 3 | 1 | 22 | 1 | 22 | 0 | 2 | 0.86 | 1 | 6 | 1 | 0 | 2 | 10 | 2 | 3 | 105 | 10 | 51 | 29 | 34 | 44 | 19 | 15 | 16 | 2 | 2 | 1 | 3 |
8,648 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/workflows.py | google.cloud.operators.workflows.WorkflowsCancelExecutionOperator | from airflow.providers.google.cloud.links.workflows import WorkflowsExecutionLink, WorkflowsListOfWorkflowsLink, WorkflowsWorkflowDetailsLink
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.cloud.hooks.workflows import WorkflowsHook
from airflow.prov... |
class WorkflowsCancelExecutionOperator(GoogleCloudBaseOperator):
'''
Cancels an execution using the given ``workflow_id`` and ``execution_id``.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:WorkflowsCancelExecutionOperator`
... | 3 | 1 | 24 | 2 | 23 | 0 | 1 | 0.31 | 1 | 7 | 2 | 0 | 2 | 9 | 2 | 3 | 71 | 8 | 48 | 29 | 32 | 15 | 20 | 16 | 17 | 1 | 2 | 0 | 2 |
8,649 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/workflows.py | google.cloud.operators.workflows.WorkflowsCreateExecutionOperator | from airflow.providers.google.cloud.links.workflows import WorkflowsExecutionLink, WorkflowsListOfWorkflowsLink, WorkflowsWorkflowDetailsLink
from airflow.providers.google.cloud.hooks.workflows import WorkflowsHook
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.prov... |
class WorkflowsCreateExecutionOperator(GoogleCloudBaseOperator):
'''
Creates a new execution using the latest revision of the given workflow.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:WorkflowsCreateExecutionOperator`
:... | 3 | 1 | 25 | 2 | 24 | 0 | 1 | 0.29 | 1 | 8 | 2 | 0 | 2 | 9 | 2 | 3 | 74 | 8 | 51 | 31 | 35 | 15 | 23 | 18 | 20 | 1 | 2 | 0 | 2 |
8,650 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/workflows.py | google.cloud.operators.workflows.WorkflowsCreateWorkflowOperator | from google.cloud.workflows_v1beta import Workflow
from airflow.utils.hashlib_wrapper import md5
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.links.workflows import WorkflowsExecutionLink, WorkflowsListOfWorkflowsLink, WorkflowsWorkflowDetailsLink
from airflow.... |
class WorkflowsCreateWorkflowOperator(GoogleCloudBaseOperator):
'''
Creates a new workflow.
If a workflow with the specified name already exists in the specified
project and location, the long-running operation will return
[ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS] error.
.. seealso::
... | 4 | 1 | 26 | 2 | 23 | 1 | 2 | 0.3 | 1 | 9 | 2 | 0 | 3 | 10 | 3 | 4 | 108 | 13 | 73 | 39 | 55 | 22 | 37 | 25 | 33 | 3 | 2 | 1 | 6 |
8,651 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/workflows.py | google.cloud.operators.workflows.WorkflowsDeleteWorkflowOperator | from collections.abc import Sequence
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.providers.google.cloud.hooks.workflows import WorkflowsHook
from airflow.providers.google.cloud.operators.cloud_base impo... |
class WorkflowsDeleteWorkflowOperator(GoogleCloudBaseOperator):
'''
Delete a workflow with the specified name and all running executions of the workflow.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:WorkflowsDeleteWorkflowOper... | 3 | 1 | 18 | 1 | 17 | 0 | 1 | 0.39 | 1 | 6 | 1 | 0 | 2 | 8 | 2 | 3 | 56 | 6 | 36 | 26 | 21 | 14 | 17 | 14 | 14 | 1 | 2 | 0 | 2 |
8,652 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/workflows.py | google.cloud.operators.workflows.WorkflowsGetExecutionOperator | from google.cloud.workflows.executions_v1beta import Execution
from collections.abc import Sequence
from airflow.providers.google.cloud.links.workflows import WorkflowsExecutionLink, WorkflowsListOfWorkflowsLink, WorkflowsWorkflowDetailsLink
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_... |
class WorkflowsGetExecutionOperator(GoogleCloudBaseOperator):
'''
Returns an execution for the given ``workflow_id`` and ``execution_id``.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:WorkflowsGetExecutionOperator`
:param ... | 3 | 1 | 24 | 2 | 23 | 0 | 1 | 0.31 | 1 | 7 | 2 | 0 | 2 | 9 | 2 | 3 | 71 | 8 | 48 | 29 | 32 | 15 | 20 | 16 | 17 | 1 | 2 | 0 | 2 |
8,653 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/workflows.py | google.cloud.operators.workflows.WorkflowsGetWorkflowOperator | from collections.abc import Sequence
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from google.cloud.workflows_v1beta import Workflow
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOper... |
class WorkflowsGetWorkflowOperator(GoogleCloudBaseOperator):
'''
Gets details of a single Workflow.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:WorkflowsGetWorkflowOperator`
:param workflow_id: Required. The ID of the wor... | 3 | 1 | 22 | 2 | 21 | 0 | 1 | 0.32 | 1 | 7 | 2 | 0 | 2 | 8 | 2 | 3 | 66 | 8 | 44 | 27 | 29 | 14 | 19 | 15 | 16 | 1 | 2 | 0 | 2 |
8,654 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/workflows.py | google.cloud.operators.workflows.WorkflowsListExecutionsOperator | from airflow.providers.google.cloud.hooks.workflows import WorkflowsHook
import datetime
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from google.cloud.workflows.executions_v1beta import Execution
from airflow.providers.google.cloud.links.workflows import WorkflowsExecutionLink, Work... |
class WorkflowsListExecutionsOperator(GoogleCloudBaseOperator):
'''
Returns a list of executions which belong to the workflow with the given name.
The method returns executions of all workflow revisions. Returned
executions are ordered by their start time (newest first).
.. seealso::
For mo... | 3 | 1 | 26 | 2 | 25 | 1 | 1 | 0.38 | 1 | 10 | 2 | 0 | 2 | 9 | 2 | 3 | 80 | 9 | 52 | 29 | 36 | 20 | 20 | 16 | 17 | 1 | 2 | 0 | 2 |
8,655 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/workflows.py | google.cloud.operators.workflows.WorkflowsListWorkflowsOperator | from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
from airflow.providers.google.cloud.links.workflows import WorkflowsExecutionLink, WorkflowsListOfWorkflowsLink, WorkflowsWorkflowDetailsLink
from collections.abc import Sequence
from airflow.providers.google.cloud.hooks.workflows i... |
class WorkflowsListWorkflowsOperator(GoogleCloudBaseOperator):
'''
Lists Workflows in a given project and location; the default order is not specified.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:WorkflowsListWorkflowsOperato... | 3 | 1 | 23 | 2 | 21 | 0 | 1 | 0.4 | 1 | 7 | 2 | 0 | 2 | 9 | 2 | 3 | 71 | 8 | 45 | 29 | 29 | 18 | 20 | 16 | 17 | 1 | 2 | 0 | 2 |
8,656 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/operators/workflows.py | google.cloud.operators.workflows.WorkflowsUpdateWorkflowOperator | from google.cloud.workflows_v1beta import Workflow
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 collections.abc import Sequ... |
class WorkflowsUpdateWorkflowOperator(GoogleCloudBaseOperator):
'''
Updates an existing workflow.
Running this method has no impact on already running
executions of the workflow. A new revision of the
workflow may be created as a result of a successful
update operation. In that case, such revis... | 3 | 1 | 28 | 2 | 26 | 0 | 1 | 0.38 | 1 | 7 | 2 | 0 | 2 | 9 | 2 | 3 | 86 | 10 | 55 | 31 | 39 | 21 | 23 | 18 | 20 | 1 | 2 | 0 | 2 |
8,657 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/secrets/secret_manager.py | google.cloud.secrets.secret_manager.CloudSecretManagerBackend | from collections.abc import Sequence
from airflow.providers.google.cloud.utils.credentials_provider import _get_target_principal_and_delegates, get_credentials_and_project_id
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.utils.log.logging_mixin import LoggingMixin
from ai... |
class CloudSecretManagerBackend(BaseSecretsBackend, LoggingMixin):
'''
Retrieves Connection object from Google Cloud Secrets Manager.
Configurable via ``airflow.cfg`` as follows:
.. code-block:: ini
[secrets]
backend = airflow.providers.google.cloud.secrets.secret_manager.CloudSecretMan... | 9 | 6 | 14 | 1 | 10 | 3 | 2 | 0.9 | 2 | 8 | 2 | 0 | 7 | 6 | 7 | 39 | 155 | 24 | 69 | 29 | 47 | 62 | 40 | 15 | 32 | 6 | 5 | 2 | 15 |
8,658 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/sensors/bigquery.py | google.cloud.sensors.bigquery.BigQueryTableExistenceSensor | from airflow.exceptions import AirflowException, AirflowProviderDeprecationWarning
from datetime import timedelta
from airflow.providers.google.cloud.hooks.bigquery import BigQueryHook
from airflow.providers.google.cloud.triggers.bigquery import BigQueryTableExistenceTrigger, BigQueryTablePartitionExistenceTrigger
impo... |
class BigQueryTableExistenceSensor(BaseSensorOperator):
'''
Checks for the existence of a table in Google Bigquery.
:param project_id: The Google cloud project in which to look for the table.
The connection supplied to the hook must provide
access to the specified project.
:param datase... | 5 | 3 | 20 | 1 | 17 | 2 | 3 | 0.33 | 1 | 11 | 4 | 0 | 4 | 8 | 4 | 25 | 110 | 11 | 75 | 29 | 60 | 25 | 35 | 17 | 30 | 3 | 3 | 2 | 10 |
8,659 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/sensors/bigquery.py | google.cloud.sensors.bigquery.BigQueryTablePartitionExistenceSensor | from airflow.providers.google.cloud.triggers.bigquery import BigQueryTableExistenceTrigger, BigQueryTablePartitionExistenceTrigger
from airflow.providers.google.version_compat import BaseSensorOperator
from airflow.configuration import conf
from datetime import timedelta
from typing import TYPE_CHECKING, Any
from colle... |
class BigQueryTablePartitionExistenceSensor(BaseSensorOperator):
'''
Checks for the existence of a partition within a table in Google Bigquery.
:param project_id: The Google cloud project in which to look for the table.
The connection supplied to the hook must provide
access to the specifie... | 5 | 3 | 19 | 1 | 16 | 1 | 2 | 0.34 | 1 | 10 | 3 | 0 | 4 | 9 | 4 | 25 | 108 | 11 | 73 | 31 | 57 | 25 | 33 | 18 | 28 | 3 | 3 | 2 | 9 |
8,660 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/sensors/bigquery_dts.py | google.cloud.sensors.bigquery_dts.BigQueryDataTransferServiceTransferRunSensor | from google.cloud.bigquery_datatransfer_v1 import TransferState
from airflow.providers.google.cloud.hooks.bigquery_dts import BiqQueryDataTransferServiceHook
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from collections.abc import Sequence
from airflow.exceptions import AirflowException
from airf... |
class BigQueryDataTransferServiceTransferRunSensor(BaseSensorOperator):
'''
Waits for Data Transfer Service run to complete.
.. seealso::
For more information on how to use this sensor, take a look at the guide:
:ref:`howto/operator:BigQueryDataTransferServiceTransferRunSensor`
:param e... | 4 | 1 | 22 | 0 | 21 | 1 | 3 | 0.43 | 1 | 12 | 2 | 0 | 3 | 10 | 3 | 24 | 110 | 8 | 72 | 36 | 52 | 31 | 32 | 20 | 28 | 6 | 3 | 2 | 9 |
8,661 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/sensors/bigtable.py | google.cloud.sensors.bigtable.BigtableTableReplicationCompletedSensor | from airflow.providers.google.cloud.links.bigtable import BigtableTablesLink
from google.cloud.bigtable import enums
import google.api_core.exceptions
from airflow.providers.google.cloud.operators.bigtable import BigtableValidationMixin
from airflow.providers.google.cloud.hooks.bigtable import BigtableHook
from airflow... |
class BigtableTableReplicationCompletedSensor(BaseSensorOperator, BigtableValidationMixin):
'''
Sensor that waits for Cloud Bigtable table to be fully replicated to its clusters.
No exception will be raised if the instance or the table does not exist.
For more details about cluster states for a table, ... | 5 | 1 | 25 | 3 | 22 | 0 | 4 | 0.38 | 2 | 6 | 2 | 0 | 2 | 5 | 2 | 24 | 85 | 12 | 53 | 26 | 41 | 20 | 34 | 17 | 31 | 6 | 3 | 2 | 7 |
8,662 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/sensors/cloud_composer.py | google.cloud.sensors.cloud_composer.CloudComposerDAGRunSensor | import json
from airflow.providers.google.cloud.triggers.cloud_composer import CloudComposerDAGRunTrigger
from airflow.providers.google.cloud.hooks.cloud_composer import CloudComposerHook
from airflow.providers.google.common.consts import GOOGLE_DEFAULT_DEFERRABLE_METHOD_NAME
from datetime import datetime, timedelta
fr... |
class CloudComposerDAGRunSensor(BaseSensorOperator):
'''
Check if a DAG run has completed.
:param project_id: Required. The ID of the Google Cloud project that the service belongs to.
:param region: Required. The ID of the Google Cloud region that the service belongs to.
:param environment_id: The ... | 12 | 3 | 15 | 0 | 14 | 0 | 2 | 0.21 | 1 | 15 | 4 | 0 | 9 | 11 | 9 | 30 | 179 | 15 | 136 | 54 | 106 | 28 | 57 | 34 | 47 | 5 | 3 | 2 | 21 |
8,663 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/sensors/cloud_storage_transfer_service.py | google.cloud.sensors.cloud_storage_transfer_service.CloudDataTransferServiceJobStatusSensor | from airflow.providers.google.cloud.links.cloud_storage_transfer import CloudStorageTransferJobLink
from airflow.exceptions import AirflowException
from airflow.providers.google.cloud.triggers.cloud_storage_transfer_service import CloudStorageTransferServiceCheckJobStatusTrigger
from typing import TYPE_CHECKING, Any
fr... |
class CloudDataTransferServiceJobStatusSensor(BaseSensorOperator):
'''
Waits for at least one operation belonging to the job to have the expected status.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:CloudDataTransferServiceJob... | 5 | 3 | 19 | 2 | 16 | 2 | 3 | 0.44 | 1 | 11 | 4 | 0 | 4 | 8 | 4 | 25 | 114 | 13 | 70 | 30 | 55 | 31 | 31 | 18 | 26 | 4 | 3 | 1 | 11 |
8,664 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/sensors/dataflow.py | google.cloud.sensors.dataflow.DataflowJobAutoScalingEventsSensor | from airflow.configuration import conf
from airflow.providers.google.cloud.triggers.dataflow import DataflowJobAutoScalingEventTrigger, DataflowJobMessagesTrigger, DataflowJobMetricsTrigger, DataflowJobStatusTrigger
from collections.abc import Callable, Sequence
from airflow.providers.google.cloud.hooks.dataflow import... |
class DataflowJobAutoScalingEventsSensor(BaseSensorOperator):
'''
Checks for autoscaling events associated with a single job in Google Cloud Dataflow.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:DataflowJobAutoScalingEventsSe... | 7 | 3 | 16 | 1 | 13 | 1 | 2 | 0.53 | 1 | 12 | 4 | 0 | 5 | 9 | 5 | 26 | 119 | 12 | 70 | 34 | 50 | 37 | 33 | 20 | 27 | 4 | 3 | 2 | 11 |
8,665 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/sensors/dataflow.py | google.cloud.sensors.dataflow.DataflowJobMessagesSensor | from collections.abc import Callable, Sequence
from functools import cached_property
from typing import TYPE_CHECKING, Any
from airflow.providers.google.cloud.hooks.dataflow import DEFAULT_DATAFLOW_LOCATION, DataflowHook, DataflowJobStatus
from airflow.providers.google.cloud.triggers.dataflow import DataflowJobAutoScal... |
class DataflowJobMessagesSensor(BaseSensorOperator):
'''
Checks for job messages associated with a single job in Google Cloud Dataflow.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:DataflowJobMessagesSensor`
:param job_id:... | 7 | 3 | 16 | 1 | 14 | 1 | 2 | 0.52 | 1 | 12 | 4 | 0 | 5 | 10 | 5 | 26 | 120 | 12 | 71 | 35 | 51 | 37 | 33 | 20 | 27 | 4 | 3 | 2 | 11 |
8,666 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/sensors/dataflow.py | google.cloud.sensors.dataflow.DataflowJobMetricsSensor | from airflow.configuration import conf
from functools import cached_property
from typing import TYPE_CHECKING, Any
from airflow.providers.google.version_compat import BaseSensorOperator, PokeReturnValue
from airflow.providers.google.cloud.triggers.dataflow import DataflowJobAutoScalingEventTrigger, DataflowJobMessagesT... |
class DataflowJobMetricsSensor(BaseSensorOperator):
'''
Checks for metrics associated with a single job in Google Cloud Dataflow.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:DataflowJobMetricsSensor`
:param job_id: ID of ... | 7 | 3 | 16 | 1 | 14 | 1 | 2 | 0.48 | 1 | 12 | 4 | 0 | 5 | 10 | 5 | 26 | 117 | 12 | 71 | 35 | 51 | 34 | 33 | 20 | 27 | 4 | 3 | 2 | 11 |
8,667 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/sensors/dataflow.py | google.cloud.sensors.dataflow.DataflowJobStatusSensor | from airflow.exceptions import AirflowException
from collections.abc import Callable, Sequence
from airflow.providers.google.cloud.triggers.dataflow import DataflowJobAutoScalingEventTrigger, DataflowJobMessagesTrigger, DataflowJobMetricsTrigger, DataflowJobStatusTrigger
from airflow.providers.google.cloud.hooks.datafl... |
class DataflowJobStatusSensor(BaseSensorOperator):
'''
Checks for the status of a job in Google Cloud Dataflow.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:DataflowJobStatusSensor`
:param job_id: ID of the job to be check... | 7 | 3 | 16 | 1 | 14 | 1 | 2 | 0.42 | 1 | 12 | 4 | 0 | 5 | 9 | 5 | 26 | 117 | 13 | 73 | 32 | 54 | 31 | 33 | 18 | 27 | 3 | 3 | 1 | 11 |
8,668 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/sensors/dataform.py | google.cloud.sensors.dataform.DataformWorkflowInvocationActionStateSensor | from airflow.exceptions import AirflowException
from collections.abc import Iterable, Sequence
from airflow.providers.google.cloud.hooks.dataform import DataformHook
class DataformWorkflowInvocationActionStateSensor(BaseSensorOperator):
"""
Checks for the status of a Workflow Invocation Action in Google Cloud ... |
class DataformWorkflowInvocationActionStateSensor(BaseSensorOperator):
'''
Checks for the status of a Workflow Invocation Action in Google Cloud Dataform.
:param project_id: Required, the Google Cloud project ID in which to start a job.
If set to None or missing, the default project_id from the Goo... | 3 | 1 | 23 | 2 | 21 | 0 | 3 | 0.5 | 1 | 8 | 2 | 0 | 2 | 10 | 2 | 23 | 73 | 7 | 44 | 30 | 28 | 22 | 24 | 17 | 21 | 4 | 3 | 3 | 5 |
8,669 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/sensors/dataform.py | google.cloud.sensors.dataform.DataformWorkflowInvocationStateSensor | from collections.abc import Iterable, Sequence
from airflow.providers.google.cloud.hooks.dataform import DataformHook
from airflow.exceptions import AirflowException
class DataformWorkflowInvocationStateSensor(BaseSensorOperator):
"""
Checks for the status of a Workflow Invocation in Google Cloud Dataform.
... |
class DataformWorkflowInvocationStateSensor(BaseSensorOperator):
'''
Checks for the status of a Workflow Invocation in Google Cloud Dataform.
:param project_id: Required, the Google Cloud project ID in which to start a job.
If set to None or missing, the default project_id from the Google Cloud con... | 3 | 1 | 24 | 1 | 23 | 0 | 3 | 0.45 | 1 | 9 | 2 | 0 | 2 | 9 | 2 | 23 | 74 | 6 | 47 | 28 | 32 | 21 | 22 | 16 | 19 | 3 | 3 | 2 | 5 |
8,670 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/sensors/datafusion.py | google.cloud.sensors.datafusion.CloudDataFusionPipelineStateSensor | from collections.abc import Iterable, Sequence
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.providers.google.cloud.hooks.datafusion import DataFusionHook
from airflow.exceptions import AirflowException, AirflowNotFoundException
class CloudDataFusionPipelineStateSensor(B... |
class CloudDataFusionPipelineStateSensor(BaseSensorOperator):
'''
Check the status of the pipeline in the Google Cloud Data Fusion.
:param pipeline_name: Your pipeline name.
:param pipeline_id: Your pipeline ID.
:param expected_statuses: State that is expected
:param failure_statuses: State tha... | 3 | 1 | 34 | 1 | 33 | 1 | 3 | 0.34 | 1 | 8 | 3 | 0 | 2 | 10 | 2 | 23 | 97 | 7 | 68 | 33 | 52 | 23 | 34 | 20 | 31 | 5 | 3 | 2 | 6 |
8,671 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/sensors/dataplex.py | google.cloud.sensors.dataplex.DataplexDataProfileJobStatusSensor | from collections.abc import Sequence
from google.api_core.exceptions import GoogleAPICallError
from airflow.providers.google.cloud.hooks.dataplex import AirflowDataQualityScanException, AirflowDataQualityScanResultTimeoutException, DataplexHook
from google.cloud.dataplex_v1.types import DataScanJob
from google.api_core... |
class DataplexDataProfileJobStatusSensor(BaseSensorOperator):
'''
Check the status of the Dataplex DataProfile job.
:param project_id: Required. The ID of the Google Cloud project that the task belongs to.
:param region: Required. The ID of the Google Cloud region that the task belongs to.
:param d... | 4 | 1 | 24 | 1 | 23 | 0 | 3 | 0.32 | 1 | 9 | 3 | 0 | 3 | 12 | 3 | 24 | 104 | 9 | 72 | 38 | 53 | 23 | 41 | 21 | 37 | 6 | 3 | 2 | 9 |
8,672 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/sensors/dataplex.py | google.cloud.sensors.dataplex.DataplexDataQualityJobStatusSensor | from collections.abc import Sequence
from airflow.exceptions import AirflowException
from airflow.providers.google.cloud.hooks.dataplex import AirflowDataQualityScanException, AirflowDataQualityScanResultTimeoutException, DataplexHook
from google.api_core.exceptions import GoogleAPICallError
from google.cloud.dataplex_... | null | 4 | 1 | 27 | 1 | 26 | 0 | 4 | 0.32 | 1 | 10 | 4 | 0 | 3 | 13 | 3 | 24 | 116 | 9 | 81 | 40 | 61 | 26 | 46 | 22 | 42 | 8 | 3 | 2 | 11 |
8,673 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/sensors/dataplex.py | google.cloud.sensors.dataplex.DataplexTaskStateSensor | from collections.abc import Sequence
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from airflow.providers.google.cloud.hooks.dataplex import AirflowDataQualityScanException, AirflowDataQualityScanResultTimeoutException, DataplexHook
from airflow.exceptions import AirflowException
class DataplexTa... |
class DataplexTaskStateSensor(BaseSensorOperator):
'''
Check the status of the Dataplex task.
:param project_id: Required. The ID of the Google Cloud project that the task belongs to.
:param region: Required. The ID of the Google Cloud region that the task belongs to.
:param lake_id: Required. The ... | 3 | 1 | 25 | 2 | 23 | 0 | 2 | 0.43 | 1 | 8 | 3 | 0 | 2 | 9 | 2 | 23 | 75 | 8 | 47 | 30 | 31 | 20 | 23 | 17 | 20 | 2 | 3 | 1 | 3 |
8,674 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/sensors/dataplex.py | google.cloud.sensors.dataplex.TaskState | class TaskState:
"""Dataplex Task states."""
STATE_UNSPECIFIED = 0
ACTIVE = 1
CREATING = 2
DELETING = 3
ACTION_REQUIRED = 4 | class TaskState:
'''Dataplex Task states.'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 | 1 | 6 | 6 | 5 | 1 | 6 | 6 | 5 | 0 | 0 | 0 | 0 |
8,675 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/sensors/dataprep.py | google.cloud.sensors.dataprep.DataprepJobGroupIsFinishedSensor | from airflow.providers.google.cloud.hooks.dataprep import GoogleDataprepHook, JobGroupStatuses
from collections.abc import Sequence
class DataprepJobGroupIsFinishedSensor(BaseSensorOperator):
"""
Check the status of the Dataprep task to be finished.
:param job_group_id: ID of the job group to check
""... |
class DataprepJobGroupIsFinishedSensor(BaseSensorOperator):
'''
Check the status of the Dataprep task to be finished.
:param job_group_id: ID of the job group to check
'''
def __init__(self, *, job_group_id: int | str, dataprep_conn_id: str='dataprep_default', **kwargs):
pass
def poke... | 3 | 1 | 7 | 0 | 7 | 0 | 1 | 0.25 | 1 | 6 | 2 | 0 | 2 | 2 | 2 | 23 | 24 | 4 | 16 | 14 | 7 | 4 | 10 | 8 | 7 | 1 | 3 | 0 | 2 |
8,676 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/sensors/dataproc.py | google.cloud.sensors.dataproc.DataprocBatchSensor | import time
from google.cloud.dataproc_v1.types import Batch, JobStatus
from airflow.providers.google.cloud.hooks.dataproc import DataprocHook
from google.api_core.exceptions import ServerError
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from collections.abc import Sequence
from air... |
class DataprocBatchSensor(BaseSensorOperator):
'''
Check for the state of batch.
:param batch_id: The Dataproc batch ID to poll. (templated)
:param region: Required. The Cloud Dataproc region in which to handle the request. (templated)
:param project_id: The ID of the google cloud project in which
... | 5 | 1 | 14 | 1 | 13 | 0 | 3 | 0.18 | 1 | 7 | 2 | 0 | 4 | 6 | 4 | 25 | 74 | 9 | 56 | 28 | 42 | 10 | 39 | 18 | 34 | 7 | 3 | 3 | 10 |
8,677 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/sensors/dataproc.py | google.cloud.sensors.dataproc.DataprocJobSensor | import time
from collections.abc import Sequence
from airflow.exceptions import AirflowException
from google.cloud.dataproc_v1.types import Batch, JobStatus
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from airflow.providers.google.cloud.hooks.dataproc import DataprocHook
from google... |
class DataprocJobSensor(BaseSensorOperator):
'''
Check for the state of a previously submitted Dataproc job.
:param dataproc_job_id: The Dataproc job ID to poll. (templated)
:param region: Required. The Cloud Dataproc region in which to handle the request. (templated)
:param project_id: The ID of t... | 5 | 1 | 16 | 1 | 15 | 0 | 3 | 0.16 | 1 | 7 | 2 | 0 | 4 | 6 | 4 | 25 | 80 | 8 | 63 | 28 | 49 | 10 | 41 | 18 | 36 | 8 | 3 | 3 | 11 |
8,678 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/sensors/dataproc_metastore.py | google.cloud.sensors.dataproc_metastore.MetastoreHivePartitionSensor | from collections.abc import Sequence
from airflow.providers.google.cloud.hooks.dataproc_metastore import DataprocMetastoreHook
from airflow.exceptions import AirflowException
from airflow.providers.google.cloud.hooks.gcs import parse_json_from_gcs
class MetastoreHivePartitionSensor(BaseSensorOperator):
"""
Wai... |
class MetastoreHivePartitionSensor(BaseSensorOperator):
'''
Waits for partitions to show up in Hive.
This sensor uses Google Cloud SDK and passes requests via gRPC.
:param service_id: Required. Dataproc Metastore service id.
:param region: Required. The ID of the Google Cloud region that the servic... | 3 | 1 | 32 | 2 | 28 | 2 | 2 | 0.36 | 1 | 9 | 2 | 0 | 2 | 7 | 2 | 23 | 96 | 9 | 64 | 29 | 51 | 23 | 28 | 19 | 25 | 3 | 3 | 1 | 4 |
8,679 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/sensors/gcs.py | google.cloud.sensors.gcs.GCSObjectExistenceSensor | from collections.abc import Callable, Sequence
from google.cloud.storage.retry import DEFAULT_RETRY
from airflow.exceptions import AirflowException
from airflow.providers.google.cloud.triggers.gcs import GCSBlobTrigger, GCSCheckBlobUpdateTimeTrigger, GCSPrefixBlobTrigger, GCSUploadSessionTrigger
from airflow.configurat... |
class GCSObjectExistenceSensor(BaseSensorOperator):
'''
Checks for the existence of a file in Google Cloud Storage.
:param bucket: The Google Cloud Storage bucket where the object is.
:param object: The name of the object to check in the Google cloud
storage bucket.
:param use_glob: When se... | 5 | 3 | 16 | 1 | 15 | 1 | 2 | 0.37 | 1 | 9 | 3 | 0 | 4 | 10 | 4 | 25 | 96 | 8 | 65 | 29 | 49 | 24 | 29 | 16 | 24 | 3 | 3 | 2 | 8 |
8,680 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/sensors/gcs.py | google.cloud.sensors.gcs.GCSObjectUpdateSensor | from airflow.configuration import conf
from airflow.exceptions import AirflowException
from airflow.providers.google.cloud.hooks.gcs import GCSHook
from typing import TYPE_CHECKING, Any
from collections.abc import Callable, Sequence
from datetime import datetime, timedelta
from airflow.providers.google.cloud.triggers.g... |
class GCSObjectUpdateSensor(BaseSensorOperator):
'''
Checks if an object is updated in Google Cloud Storage.
:param bucket: The Google Cloud Storage bucket where the object is.
:param object: The name of the object to download in the Google cloud
storage bucket.
:param ts_func: Callback for... | 5 | 3 | 14 | 0 | 13 | 1 | 2 | 0.38 | 1 | 10 | 3 | 0 | 4 | 8 | 4 | 25 | 89 | 7 | 60 | 26 | 46 | 23 | 28 | 15 | 23 | 3 | 3 | 2 | 8 |
8,681 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/sensors/gcs.py | google.cloud.sensors.gcs.GCSObjectsWithPrefixExistenceSensor | from datetime import datetime, timedelta
from collections.abc import Callable, Sequence
from typing import TYPE_CHECKING, Any
from airflow.providers.google.cloud.triggers.gcs import GCSBlobTrigger, GCSCheckBlobUpdateTimeTrigger, GCSPrefixBlobTrigger, GCSUploadSessionTrigger
from airflow.exceptions import AirflowExcepti... | null | 5 | 3 | 13 | 0 | 13 | 1 | 2 | 0.4 | 1 | 11 | 3 | 0 | 4 | 8 | 4 | 25 | 87 | 7 | 58 | 24 | 45 | 23 | 29 | 14 | 24 | 3 | 3 | 2 | 7 |
8,682 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/sensors/gcs.py | google.cloud.sensors.gcs.GCSUploadSessionCompleteSensor | from collections.abc import Callable, Sequence
from airflow.providers.google.cloud.triggers.gcs import GCSBlobTrigger, GCSCheckBlobUpdateTimeTrigger, GCSPrefixBlobTrigger, GCSUploadSessionTrigger
from airflow.providers.google.cloud.hooks.gcs import GCSHook
from typing import TYPE_CHECKING, Any
from airflow.configuratio... | @poke_mode_only
class GCSUploadSessionCompleteSensor(BaseSensorOperator):
'''
Return True if the inactivity period has passed with no increase in the number of objects in the bucket.
Checks for changes in the number of objects at prefix in Google Cloud Storage
bucket and returns True if the inactivity p... | 8 | 4 | 25 | 2 | 21 | 2 | 3 | 0.37 | 1 | 14 | 3 | 0 | 6 | 14 | 6 | 27 | 199 | 23 | 130 | 40 | 111 | 48 | 67 | 26 | 60 | 7 | 3 | 2 | 18 |
8,683 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/sensors/looker.py | google.cloud.sensors.looker.LookerCheckPdtBuildSensor | from airflow.providers.google.cloud.hooks.looker import JobStatus, LookerHook
from airflow.exceptions import AirflowException
class LookerCheckPdtBuildSensor(BaseSensorOperator):
"""
Check for the state of a previously submitted PDT materialization job.
:param materialization_id: Required. The materializa... |
class LookerCheckPdtBuildSensor(BaseSensorOperator):
'''
Check for the state of a previously submitted PDT materialization job.
:param materialization_id: Required. The materialization job ID to poll. (templated)
:param looker_conn_id: Required. The connection ID to use connecting to Looker.
:param... | 4 | 1 | 13 | 1 | 12 | 0 | 3 | 0.22 | 1 | 6 | 3 | 0 | 3 | 4 | 3 | 24 | 54 | 9 | 37 | 15 | 31 | 8 | 30 | 13 | 26 | 6 | 3 | 1 | 9 |
8,684 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/sensors/pubsub.py | google.cloud.sensors.pubsub.PubSubMessageTransformException | from airflow.exceptions import AirflowException
class PubSubMessageTransformException(AirflowException):
"""Raise when messages failed to convert pubsub received format.""" |
class PubSubMessageTransformException(AirflowException):
'''Raise when messages failed to convert pubsub received format.'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 11 | 2 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 4 | 0 | 0 |
8,685 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/sensors/pubsub.py | google.cloud.sensors.pubsub.PubSubPullSensor | from collections.abc import Callable, Sequence
from airflow.providers.google.cloud.hooks.pubsub import PubSubHook
from datetime import timedelta
from airflow.configuration import conf
from typing import TYPE_CHECKING, Any
from airflow.providers.google.cloud.triggers.pubsub import PubsubPullTrigger
from airflow.exceptio... |
class PubSubPullSensor(BaseSensorOperator):
'''
Pulls messages from a PubSub subscription and passes them through XCom.
Always waits for at least one message to be returned from the subscription.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:r... | 7 | 4 | 18 | 2 | 15 | 2 | 2 | 0.65 | 1 | 15 | 4 | 0 | 6 | 12 | 6 | 27 | 184 | 25 | 97 | 47 | 72 | 63 | 48 | 27 | 41 | 3 | 3 | 2 | 11 |
8,686 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/sensors/tasks.py | google.cloud.sensors.tasks.TaskQueueEmptySensor | from airflow.providers.google.cloud.hooks.tasks import CloudTasksHook
from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
from collections.abc import Sequence
class TaskQueueEmptySensor(BaseSensorOperator):
"""
Pulls tasks count from a cloud task queue; waits for queue to return ta... |
class TaskQueueEmptySensor(BaseSensorOperator):
'''
Pulls tasks count from a cloud task queue; waits for queue to return task count as 0.
:param project_id: the Google Cloud project ID for the subscription (templated)
:param gcp_conn_id: The connection ID to use connecting to Google Cloud.
:param q... | 3 | 1 | 16 | 2 | 14 | 1 | 1 | 0.46 | 1 | 5 | 1 | 0 | 2 | 5 | 2 | 23 | 58 | 7 | 35 | 20 | 23 | 16 | 14 | 11 | 11 | 1 | 3 | 0 | 2 |
8,687 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/sensors/vertex_ai/feature_store.py | google.cloud.sensors.vertex_ai.feature_store.FeatureViewSyncSensor | from collections.abc import Sequence
from airflow.exceptions import AirflowException
import time
from airflow.providers.google.cloud.hooks.vertex_ai.feature_store import FeatureStoreHook
class FeatureViewSyncSensor(BaseSensorOperator):
"""
Sensor to monitor the state of a Vertex AI Feature View sync operation.... |
class FeatureViewSyncSensor(BaseSensorOperator):
'''
Sensor to monitor the state of a Vertex AI Feature View sync operation.
:param feature_view_sync_name: The name of the feature view sync operation to monitor. (templated)
:param location: Required. The Cloud region in which to handle the request. (te... | 5 | 1 | 15 | 1 | 14 | 0 | 2 | 0.19 | 1 | 9 | 2 | 0 | 4 | 6 | 4 | 25 | 79 | 11 | 58 | 25 | 44 | 11 | 32 | 15 | 27 | 5 | 3 | 2 | 8 |
8,688 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/sensors/workflows.py | google.cloud.sensors.workflows.WorkflowExecutionSensor | from collections.abc import Sequence
from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
from google.cloud.workflows.executions_v1beta import Execution
from airflow.exceptions import AirflowException
from airflow.providers.google.cloud.hooks.workflows import WorkflowsHook
from airflow.providers.google.c... |
class WorkflowExecutionSensor(BaseSensorOperator):
'''
Checks state of an execution for the given ``workflow_id`` and ``execution_id``.
:param workflow_id: Required. The ID of the workflow.
:param execution_id: Required. The ID of the execution.
:param project_id: Required. The ID of the Google Clo... | 3 | 1 | 35 | 2 | 33 | 0 | 2 | 0.24 | 1 | 8 | 2 | 0 | 2 | 11 | 2 | 23 | 91 | 8 | 67 | 34 | 49 | 16 | 28 | 19 | 25 | 3 | 3 | 1 | 4 |
8,689 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/transfers/adls_to_gcs.py | google.cloud.transfers.adls_to_gcs.ADLSToGCSOperator | from tempfile import NamedTemporaryFile
import os
from airflow.providers.google.cloud.hooks.gcs import GCSHook, _parse_gcs_url
from collections.abc import Sequence
class ADLSToGCSOperator(ADLSListOperator):
"""
Synchronizes an Azure Data Lake Storage path with a GCS bucket.
:param src_adls: The Azure Data... |
class ADLSToGCSOperator(ADLSListOperator):
'''
Synchronizes an Azure Data Lake Storage path with a GCS bucket.
:param src_adls: The Azure Data Lake path to find the objects (templated)
:param dest_gcs: The Google Cloud Storage bucket and prefix to
store the objects. (templated)
:param repla... | 3 | 1 | 28 | 4 | 23 | 2 | 3 | 1.08 | 1 | 8 | 2 | 0 | 2 | 6 | 2 | 4 | 124 | 17 | 52 | 31 | 38 | 56 | 31 | 19 | 28 | 4 | 2 | 3 | 5 |
8,690 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/transfers/azure_blob_to_gcs.py | google.cloud.transfers.azure_blob_to_gcs.AzureBlobStorageToGCSOperator | from airflow.providers.google.cloud.hooks.gcs import GCSHook
import tempfile
from airflow.providers.google.version_compat import BaseOperator
from collections.abc import Sequence
class AzureBlobStorageToGCSOperator(BaseOperator):
"""
Operator transfers data from Azure Blob Storage to specified bucket in Google... |
class AzureBlobStorageToGCSOperator(BaseOperator):
'''
Operator transfers data from Azure Blob Storage to specified bucket in Google Cloud Storage.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:AzureBlobStorageToGCSOperator`
... | 4 | 1 | 21 | 1 | 20 | 0 | 1 | 0.32 | 1 | 7 | 3 | 0 | 3 | 9 | 3 | 3 | 100 | 9 | 69 | 34 | 50 | 22 | 29 | 20 | 23 | 1 | 1 | 1 | 3 |
8,691 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/transfers/azure_fileshare_to_gcs.py | google.cloud.transfers.azure_fileshare_to_gcs.AzureFileShareToGCSOperator | from airflow.providers.google.cloud.hooks.gcs import GCSHook, _parse_gcs_url, gcs_object_is_directory
from airflow.providers.google.version_compat import BaseOperator
from tempfile import NamedTemporaryFile
from collections.abc import Sequence
import warnings
from airflow.exceptions import AirflowException, AirflowProv... |
class AzureFileShareToGCSOperator(BaseOperator):
'''
Sync an Azure FileShare directory with a Google Cloud Storage destination path.
Does not include subdirectories. May be filtered by prefix.
:param share_name: The Azure FileShare share where to find the objects. (templated)
:param directory_name... | 4 | 1 | 35 | 4 | 29 | 2 | 4 | 0.37 | 1 | 11 | 4 | 0 | 3 | 10 | 3 | 3 | 149 | 19 | 95 | 38 | 77 | 35 | 52 | 23 | 48 | 8 | 1 | 3 | 12 |
8,692 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/transfers/bigquery_to_bigquery.py | google.cloud.transfers.bigquery_to_bigquery.BigQueryToBigQueryOperator | from airflow.providers.google.cloud.hooks.bigquery import BigQueryHook
from airflow.providers.google.version_compat import BaseOperator
from collections.abc import Sequence
from airflow.providers.google.cloud.links.bigquery import BigQueryTableLink
from airflow.providers.google.common.hooks.base_google import PROVIDE_P... |
class BigQueryToBigQueryOperator(BaseOperator):
'''
Copies data from one BigQuery table to another.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:BigQueryToBigQueryOperator`
.. seealso::
For more details about these... | 5 | 2 | 40 | 4 | 36 | 0 | 3 | 0.27 | 1 | 9 | 3 | 0 | 4 | 11 | 4 | 4 | 217 | 25 | 152 | 62 | 124 | 41 | 63 | 42 | 55 | 5 | 1 | 1 | 12 |
8,693 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/transfers/bigquery_to_gcs.py | google.cloud.transfers.bigquery_to_gcs.BigQueryToGCSOperator | from google.cloud.bigquery import DEFAULT_RETRY, UnknownJob
from airflow.providers.google.cloud.links.bigquery import BigQueryTableLink
from typing import TYPE_CHECKING, Any
from airflow.configuration import conf
from airflow.utils.helpers import merge_dicts
from airflow.providers.google.version_compat import BaseOpera... |
class BigQueryToGCSOperator(BaseOperator):
'''
Transfers a BigQuery table to a Google Cloud Storage bucket.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:BigQueryToGCSOperator`
.. seealso::
For more details about th... | 9 | 3 | 36 | 3 | 31 | 2 | 3 | 0.27 | 1 | 14 | 5 | 0 | 6 | 21 | 7 | 7 | 319 | 29 | 230 | 92 | 180 | 61 | 95 | 51 | 83 | 6 | 1 | 3 | 21 |
8,694 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/transfers/bigquery_to_mssql.py | google.cloud.transfers.bigquery_to_mssql.BigQueryToMsSqlOperator | from airflow.providers.google.cloud.transfers.bigquery_to_sql import BigQueryToSqlBaseOperator
from collections.abc import Sequence
import warnings
from functools import cached_property
from airflow.providers.microsoft.mssql.hooks.mssql import MsSqlHook
from airflow.exceptions import AirflowProviderDeprecationWarning
f... |
class BigQueryToMsSqlOperator(BigQueryToSqlBaseOperator):
'''
Fetch data from a BigQuery table (alternatively fetch selected columns) and insert it into a MSSQL table.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:BigQueryToMsS... | 6 | 1 | 16 | 1 | 15 | 0 | 2 | 0.25 | 1 | 6 | 3 | 0 | 3 | 3 | 3 | 7 | 74 | 10 | 51 | 19 | 39 | 13 | 21 | 10 | 17 | 4 | 2 | 2 | 6 |
8,695 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/transfers/bigquery_to_mysql.py | google.cloud.transfers.bigquery_to_mysql.BigQueryToMySqlOperator | from airflow.exceptions import AirflowProviderDeprecationWarning
import warnings
from functools import cached_property
from collections.abc import Sequence
from airflow.providers.mysql.hooks.mysql import MySqlHook
from airflow.providers.google.cloud.transfers.bigquery_to_sql import BigQueryToSqlBaseOperator
class BigQ... |
class BigQueryToMySqlOperator(BigQueryToSqlBaseOperator):
'''
Fetch data from a BigQuery table (alternatively fetch selected columns) and insert it into a MySQL table.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:BigQueryToMyS... | 6 | 1 | 16 | 2 | 14 | 0 | 2 | 0.4 | 1 | 5 | 2 | 0 | 2 | 2 | 2 | 6 | 51 | 9 | 30 | 15 | 18 | 12 | 12 | 5 | 9 | 3 | 2 | 2 | 4 |
8,696 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/transfers/bigquery_to_postgres.py | google.cloud.transfers.bigquery_to_postgres.BigQueryToPostgresOperator | from airflow.providers.google.cloud.transfers.bigquery_to_sql import BigQueryToSqlBaseOperator
from psycopg2.extensions import register_adapter
from psycopg2.extras import Json
from airflow.providers.postgres.hooks.postgres import PostgresHook
from functools import cached_property
from airflow.providers.google.cloud.ut... |
class BigQueryToPostgresOperator(BigQueryToSqlBaseOperator):
'''
Fetch data from a BigQuery table (alternatively fetch selected columns) and insert into PostgreSQL table.
Due to constraints of the PostgreSQL's ON CONFLICT clause both `selected_fields` and `replace_index`
parameters need to be specified... | 6 | 1 | 14 | 0 | 14 | 0 | 2 | 0.48 | 1 | 7 | 2 | 0 | 3 | 9 | 3 | 7 | 72 | 7 | 44 | 25 | 31 | 21 | 15 | 9 | 11 | 2 | 2 | 1 | 5 |
8,697 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/transfers/bigquery_to_sql.py | google.cloud.transfers.bigquery_to_sql.BigQueryToSqlBaseOperator | from collections.abc import Sequence
from airflow.providers.google.cloud.hooks.bigquery import BigQueryHook
import abc
from functools import cached_property
from airflow.providers.google.version_compat import BaseOperator
from airflow.providers.google.cloud.utils.bigquery_get_data import bigquery_get_data
class BigQue... | null | 9 | 4 | 15 | 0 | 14 | 1 | 2 | 0.5 | 1 | 9 | 2 | 3 | 4 | 10 | 4 | 4 | 104 | 8 | 64 | 35 | 43 | 32 | 26 | 19 | 21 | 2 | 1 | 1 | 6 |
8,698 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/transfers/calendar_to_gcs.py | google.cloud.transfers.calendar_to_gcs.GoogleCalendarToGCSOperator | from tempfile import NamedTemporaryFile
from airflow.providers.google.cloud.hooks.gcs import GCSHook
from airflow.providers.google.version_compat import BaseOperator
import json
from collections.abc import Sequence
from airflow.providers.google.suite.hooks.calendar import GoogleCalendarHook
from typing import TYPE_CHEC... |
class GoogleCalendarToGCSOperator(BaseOperator):
'''
Writes Google Calendar data into Google Cloud Storage.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:GoogleCalendarToGCSOperator`
:param calendar_id: The Google Calendar ... | 4 | 1 | 34 | 2 | 32 | 1 | 1 | 0.46 | 1 | 10 | 2 | 0 | 3 | 21 | 3 | 3 | 160 | 11 | 102 | 61 | 70 | 47 | 39 | 32 | 35 | 2 | 1 | 1 | 4 |
8,699 | apache/airflow | apache_airflow/providers/google/src/airflow/providers/google/cloud/transfers/cassandra_to_gcs.py | google.cloud.transfers.cassandra_to_gcs.CassandraToGCSOperator | from tempfile import NamedTemporaryFile
from uuid import UUID
from base64 import b64encode
from airflow.providers.google.cloud.hooks.gcs import GCSHook
from airflow.providers.apache.cassandra.hooks.cassandra import CassandraHook
from datetime import datetime
from airflow.exceptions import AirflowException
import json
f... |
class CassandraToGCSOperator(BaseOperator):
'''
Copy data from Cassandra to Google Cloud Storage in JSON format.
Note: Arrays of arrays are not supported.
:param cql: The CQL to execute on the Cassandra table.
:param bucket: The bucket to upload to.
:param filename: The filename to use as the o... | 26 | 17 | 14 | 1 | 10 | 2 | 3 | 0.35 | 1 | 20 | 3 | 0 | 11 | 11 | 18 | 18 | 350 | 46 | 226 | 83 | 185 | 80 | 139 | 61 | 120 | 12 | 1 | 2 | 47 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.