set_dsg_session#

Session.set_dsg_session(dsg_session: DSGSession)#

Set a DSG Session for the current PyEnSight session.

This is required if a DSGSession is running together with PyEnSight and the second might send gRPC requests while the first is blocked because the gRPC queue is full.

Parameters:
dsg_session: DSGSession

a DSGSession object