mobuchowski commented on code in PR #49237:
URL: https://github.com/apache/airflow/pull/49237#discussion_r2055793171
##########
providers/openlineage/src/airflow/providers/openlineage/utils/utils.py:
##########
@@ -126,6 +127,24 @@ def get_job_name(task: TaskInstance) -> str:
return f"{task.dag_id}.{task.task_id}"
+def get_task_parent_run_id(
+ parent_run_id: str, parent_job_name: str, parent_job_namespace: str =
conf.namespace()
+) -> dict[str, Any]:
+ # Gets parent run id for TASK level events
+ # Those right now will always point to the DAG level run it and name
+ # As we don't handle dags runs from external events yet
Review Comment:
Fixed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]