codecae commented on PR #54677: URL: https://github.com/apache/airflow/pull/54677#issuecomment-3220504812
> This is very good if we can do that! It's not just in Airflow 3. Not that it really matters, but in Airflow 2, we've been successful at making them dynamic by subclassing `list` and implementing an override for `__iter__()` (as demonstrated in the example). This could be done in a far simpler way, but the example was more representative of the workaround we've used in the past. https://github.com/apache/airflow/blob/d9ed7b94d033dc61ee1c05aafb9f1c1f7b82cfb2/airflow/www/views.py#L1070 > @codecae I think this feature needs some explanation in the UI alert docs about how to make it dynamic I'll try to come up with some simple doc updates to explain how to implement. -- 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]
