Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Question: When is __call__ called if Manager receives a function #100

Open
adamcunnington opened this issue Jun 9, 2014 · 0 comments
Open

Comments

@adamcunnington
Copy link

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?

@adamcunnington adamcunnington changed the title When is __call__ called if Manager receives a function Question: When is __call__ called if Manager receives a function Jun 9, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant