I\'m working on an API made with python flask-SQLalchemy.
I\'m looking for an elegant way prepare my query step by step.
Today my code is working but seam very