Immediate device parameter change with Python SDK


I’m developing an app where I primarily use resin for easy configuration.

Whenever a device service variable is modified at, the container is restarted with the updated variable immediately. How do I get the same behaviour using the Python SDK? I am able to update the variable such that the update is visible on but cannot seem to force the device to load the parameters immediately.



Can you provide a minimal example of how you set the environment variables using the Python SDK, and also mention the python SDK version you are using?