StreamlitProcess
Object representing a streamlit process, one instance of 'streamlit run' command. It can manage multiple streamlit apps using the same environment.
current_running_apps: Dictenv_hash: strid: stris_dev_mode: boolport: intInitialize self. See help(type(self)) for accurate signature.
intstrstrAdd an app to the process.
AppInstanceCall the health check of the app to check if it is still running
boolintFind the app that was generated from the given resource model id
strgws_core.apps.app_instance.AppInstance | NoneGet the app instance and check if it exists
strAppInstancestrgws_core.apps.app_instance.AppInstance | NonestrAppInstanceUrlGet the host name for the app process based on the port and suffix. This is used to generate the host URL for the app.
str - ''strFrontThemestrintGet the current status of the app process
AppProcessStatusAppProcessStatusDTOGet the current status text of the app process
strGet the token of the app process. This is used to secure the app and allow access to it.
strstrstrboolCheck if the app process is running
boolCheck if the app process is starting
boolCheck if the app process is stopped
boolSet the status and status text of the app process
AppProcessStatusstr - ''Start the process for the app using app_id
strMethod to start the check running loop to check if the app is still used
Kill the process and all apps
boolReturn the user id from the user access token if the user has access to the app
strstrstr | NoneCheck if the process uses the given port
intboolWait for the process to start
AppProcessStatus