vatsrahul1001 opened a new issue, #47792:
URL: https://github.com/apache/airflow/issues/47792

   ### Apache Airflow version
   
   3.0.0
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   When downsteam DAG is dependent on Alias schedule info is not showing 
correctly.
   
![Image](https://github.com/user-attachments/assets/b5b98c61-c783-4ec4-8d1b-b311bd83f836)
   
   
![Image](https://github.com/user-attachments/assets/e0ce368e-2036-4904-a39d-fc30dd717290)
   
   ### What you think should happen instead?
   
   _No response_
   
   ### How to reproduce
   
   1. Use the below DAG.
   ```
   from __future__ import annotations
   
   import pendulum
   
   from airflow import DAG
   from airflow.datasets import Dataset, DatasetAlias
   from airflow.decorators import task
   
   
   with DAG(
       dag_id="dataset_alias_example_alias_producer",
       start_date=pendulum.datetime(2021, 1, 1, tz="UTC"),
       schedule=None,
       catchup=False,
       tags=["dataset"],
   ):
   
       @task(outlets=[DatasetAlias("example-alias")])
       def produce_dataset_events_through_dataset_alias(*, outlet_events=None):
           bucket_name = "bucket"
           object_path = "my-task"
           
outlet_events[DatasetAlias("example-alias")].add(Dataset(f"s3://{bucket_name}/{object_path}"))
   
   
       produce_dataset_events_through_dataset_alias()
   
   with DAG(
       dag_id="dataset_alias_example_alias_consumer",
       start_date=pendulum.datetime(2021, 1, 1, tz="UTC"),
       schedule=[DatasetAlias("example-alias")],
       catchup=False,
       tags=["dataset"],
   ):
   
       @task(inlets=[DatasetAlias("example-alias")])
       def consume_dataset_event_from_dataset_alias(*, inlet_events=None):
           for event in inlet_events[DatasetAlias("example-alias")]:
               print(event)
   
       consume_dataset_event_from_dataset_alias()
   
   ```
   
   2. On DAG list page check for DAG 
`[dataset_alias_example_alias_consumer](http://localhost:28080/dags/dataset_alias_example_alias_consumer)`
 and click on Asset under schedule
   
   ### Operating System
   
   linux
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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: commits-unsubscr...@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to