The GitHub Actions job "Tests" on airflow.git/addSimpleTaskExtraLinkSupport has 
failed.
Run started by GitHub user fredthomsen (triggered by fredthomsen).

Head commit for run:
eb7c521b96ec8b50a3b41641880cea57fe2e1d21 / Fred Thomsen <[email protected]>
Add simple extra links support for TaskFlow tasks

Previously, adding extra links to a TaskFlow task required creating
a custom BaseOperator subclass with operator_extra_links and a
companion BaseOperatorLink class. This is heavyweight for what is
often just a URL set at runtime.

This change lets @task authors declare link names in the
decorator and set URLs directly during execution:

    @task(extra_links=["Docs"])
    def my_task(extra_links):
        extra_links["Docs"] = "https://example.com";

Declaration at parse time creates TaskFlowExtraLink objects on
operator_extra_links which enables:
* The taskflow extra link be serialized and deserialized just like
other extra links
* Warning and override of existing class-based extra links
* Mapped operators retain extra links through unmap()

Closes: #54527

Report URL: https://github.com/apache/airflow/actions/runs/22105605966

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to