apache / airflow

Apache Airflow - A platform to programmatically author, schedule, and monitor workflows
https://airflow.apache.org/
Apache License 2.0
37.11k stars 14.3k forks source link

Deprecate accessing outlet and inlet events through string in Airflow 3.0 #43956

Open Lee-W opened 22 hours ago

Lee-W commented 22 hours ago

Description

as title

Use case/motivation

Since the introduction of DatasetAlias/AssetAlias and the name attribute to Asset, accessing outlet_events and inlet_evnets has become confusing.

e.g., What should something like the following mean?

   def produce_asset_events_through_asset_alias_with_no_taskflow(*, outlet_events=None):
        bucket_name = "bucket"
        object_path = "my-task"
        outlet_events["example-alias-no-taskflow"]

Related issues

No response

Are you willing to submit a PR?

Code of Conduct

Lee-W commented 22 hours ago