ashb commented on issue #54527: URL: https://github.com/apache/airflow/issues/54527#issuecomment-3205874311
Yup, we use it for outlet events here https://airflow.apache.org/docs/apache-airflow/stable/authoring-and-scheduling/asset-scheduling.html#scheduling-based-on-asset-aliases ```python with DAG(dag_id="asset-alias-producer"): @task(outlets=[AssetAlias("example-alias")]) def produce_asset_events(*, outlet_events): outlet_events[AssetAlias("example-alias")].add(Asset("s3://bucket/my-task")) ``` To some extent, even `ti.xcom_push()` is writing to the context (not as "pure", but ti comes from the context, and pushing an xcom is writing) -- 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]
