dstandish opened a new pull request, #25249: URL: https://github.com/apache/airflow/pull/25249
The outlets field could be used for more things than datasets. So we can't know how to reliably serialize all the objects that might end up there. So we just serialize the datasets (which is all we care about for the moment) and expose them under an attribute `outlet_datasets`. @bbovenzi note that we don't have the dataset ID here. It's not stored in the serialized dag data for simplicity reasons. We'd have to query the DB at serialization time to retrieve the ID, so we could do it, just don't need it yet. And, since you are just using this to check if a task has dataset outlets, this should do fine for you. You should be able to simply check that `outlet_datasets` is nonempty. -- 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 For queries about this service, please contact Infrastructure at: us...@infra.apache.org