✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Run dash without subprocess

Hello

I am trying to use Dash on iPhone with the Pythonista app. Unfortunately Apple does not allow subprocesses.

Is there any way to configure Dash to only use threading?

Thanks,
Mikael

What commands are you using to run Dash? gunicorn will run the app with multiple “workers” but the default app.run_server doesn’t use subprocesses. You can also pass in app.run_server(threaded=True) - see https://stackoverflow.com/questions/38876721/handle-flask-requests-concurrently-with-threaded-true