Open
Labels
kind:taskA task that needs to be completed as part of a larger issue
Description
Body
- For the DagImporter base class, support the optinal kwarg
dag_id - For rest of the Language DagImporter (Node, Java) they can opt-in the
dag_idand show the "source where it define the Dag" instead of always showing the entrypoint file - refer to https://github.com/apache/airflow/pull/74037/changes/BASE..1e09e5fdfbeb67d86a7e0b8c6dfe5fb2ac812f6a#r4183990692
Items:
DagImporter. get_source_codesignature changeNodeDagImporter.get_source_code-- once Parse native TypeScript Dags with the Node coordinator #74037 is merged. The SDK packing side alreadyJavaDagImporter.get_source_code-- once Parse native Java Dags and show their source #74036 is merged. The SDK packing side is pending on Java SDK: Declare a Dag's task graph with @Builder.Deps #71189ExecutableDagImporter.get_source_code-- Both the Python Code and the SDK haven't implemented yet
Further follow-up items (not 3.4.0 timeline)
- Address the write amplification as pointed out in Show each native Dag's own source in the Code tab #74249 (comment)
Committer
- I acknowledge that I am a maintainer/committer of the Apache Airflow project.
Metadata
Metadata
Assignees
Labels
kind:taskA task that needs to be completed as part of a larger issue
Type
Projects
- StatusShow more project fieldsTodo
Activity
[-]Support optional DagID on the `get_source_code` signature[/-][+]Support optional DagID on the `get_source_code` signature for better UI code view visibility[/+]