pierrejeambrun opened a new pull request, #42320: URL: https://github.com/apache/airflow/pull/42320
This will abstract the handling of common FIlters, Search and Sort query param so we do not have to copy and past the same `query.where(...)` on all endpoints that are using this same logic. This allows: - To remove some logic from the views, and only keep http related thing. (serialization/deserialization, query param validation, etc...) - Initialize some reusable logic for the db layer - Will allow to add more complex filters that cannot be done today, especially on the `order_by` because we were using a `text` clause that do not work with hybrid properties. (cf follow up PR to add ordering by `dag_display_name`) The goal is to have that extended and have a library of `query params` that can be re-used accross all the RestAPI. -- 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]
