dstandish opened a new pull request #15125: URL: https://github.com/apache/airflow/pull/15125
This decorator lets us implement latest only behavior without adding an extraneous task. You can make any operator a latest only operator by applying this decorator to `execute`. I thought for a minute about pulling the `is_latest_execution` logic out into a function shared by both latest only decorator and latest only operator, but the logic is just a few lines so I decided it wasn't worth the added obfuscation and object proliferation. Please let me know what you think. -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org