as i' currently developing an app for the tk-desktop-engine i wonder if there is a way to update the current context without reloading the whole engine. The App will be used for fast publish of files without any other dependency like maya etc. So, from an Entity Browser the user can "walk" though the entities and select his task, drags and drops his files, adds notes and publishes the files to Shotgun.
Restarting the engine all the time would make the application terribly slow so i'm looking for a different solution. One way could be to create the context myself and overwrite self._app.context but that wouldn't update the context of the Shotgun Wrapper Dialog.
Does anyone have some best practices for this kind of feature?