伊谢尔伦2017-04-18 09:27:02
It is easiest to dedicate a flask instance worker, which is the independence mentioned at the end of the question. The price is that the context is different, forget your g variable, the parameters can only be passed. They all use one instance, and it would be too troublesome to get rid of the circular import.