Celery integration
At the moment, your implementation is suitable for web applications. But I doubt that anyone in medium or large projects uses only one web. We are currently using celery+fastapi in our project. And there are some questions in terms of how to properly initialize this solution? At the start of each task, should we start the initialization of supertokens? Or check whether the app is initialized with each request to user?
I would be very glad if you write to the doc about integrating this solution into Celery, since the Celery community is huge. https://github.com/celery/celery
In general, if you are using our backend SDK functions, you need to call the supertokens.init once per process.