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.
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.