Choosing the EGL device index in pvpython

Is there an equivalent to the command line argument --egl-device-index in pvpython, similarly to what exists in pvserver and paraview executables?

Or, a good way to set it in the python script itself?

Thanks!