sasoptpy.Model.get_session_type

Model.get_session_type(self)[source]

Tests whether the model session is defined and still active

Returns
sessionstring

‘CAS’ for CAS sessions, ‘SAS’ for SAS sessions