◐ Shell
clean mode source ↗

[Question] How would you implement Flask event Listeners?

Hey,

I am looking at rebuilding some Flask services under the idea you are showcasing here.

Issue is that a lot of what we did was build on Flask event_listeners. What they do is essentially react to any changes to the data.

Do you have any proposal how to essentially be able to reuse those for SQLAlchemy prod use-case, but have them as mocks for tests?