Initializing help system before first use

AppInterface.app_id

AppInterface.app_id


Purpose
Property for the id of the Xpress Insight application which is the parent of the model.
Synopsis
app_id: str
Return value
The UID of the Xpress Insight application.
Example
Demonstration of setting the application ID (test mode only).
>>> insight.app_id = 'xyzzy'		
Demonstration of getting the application ID then outputting it.
>>> print('app id = ', insight.app_id)
app id = xyzzy		
Further information
1. The app_id property can only be set in test mode.
2. In test mode can be used to mock the Insight application state when testing code outside of an Insight scenario. By default, insight.app_id will return an empty string in test mode.
3. Modifying this property when insight.test_mode is False will cause the model to abort with a runtime error.