potiuk commented on PR #38155: URL: https://github.com/apache/airflow/pull/38155#issuecomment-2032715168
> > using a new public API call (`get_last_task_failure`- and add documentation about it). > > by "new API" you meant just a method on the class, right ? Is there more doc to update besides the sample dag and the docstring for the method itself ? I guess the documentation about listeners https://airflow.apache.org/docs/apache-airflow/stable/administration-and-deployment/listeners.html - it should have a section on "how to retrieve error" - and yes - ideally it should include the relevant excerpt from an example dag (which will serve both as a way to test it end-to-end and serve as a documentation 'extract'. Generally everey "feature" in airflow has some documentation that aims (and sometimes fail) to explain the feature for the user in a more "howto" fashion. That's the goal we strive for -- 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]
