Question: When is __call__ called if Manager receives a function
adamcunnington opened this issue · 0 comments
adamcunnington commented
I'm assuming that because you need manage to be global in order to take advantage of the decorator, you have deliberately allowed Manager to receive either the app instance or a callable.
I have a func, app_factory that creates the app but I wanted to know when it is actually called, I checked the source code but couldn't work out where. Perhaps run is responsible for the calling of the app func?