airflow.providers.google.cloud.links.dataproc
¶
This module contains Google Dataproc links.
Module Contents¶
Classes¶
Helper class for constructing Dataproc resource link. |
|
Helper class for constructing list of Dataproc resources link. |
Attributes¶
- class airflow.providers.google.cloud.links.dataproc.DataprocLink[source]¶
Bases:
airflow.models.BaseOperatorLink
Helper class for constructing Dataproc resource link.
- get_link(operator, *, ti_key)[source]¶
Link to external system.
Note: The old signature of this function was
(self, operator, dttm: datetime)
. That is still supported at runtime but is deprecated.- Parameters
operator (airflow.models.BaseOperator) – The Airflow operator object this link is associated to.
ti_key (airflow.models.taskinstancekey.TaskInstanceKey) – TaskInstance ID to return link for.
- Returns
link to external system
- Return type
- class airflow.providers.google.cloud.links.dataproc.DataprocListLink[source]¶
Bases:
airflow.models.BaseOperatorLink
Helper class for constructing list of Dataproc resources link.
- get_link(operator, *, ti_key)[source]¶
Link to external system.
Note: The old signature of this function was
(self, operator, dttm: datetime)
. That is still supported at runtime but is deprecated.- Parameters
operator (airflow.models.BaseOperator) – The Airflow operator object this link is associated to.
ti_key (airflow.models.taskinstancekey.TaskInstanceKey) – TaskInstance ID to return link for.
- Returns
link to external system
- Return type