Object representing a streamlit process, one instance of 'streamlit run' command. It can manage multiple streamlit apps using the same environment.
current_running_apps: Dict
env_hash: str
id: str
is_dev_mode: bool
port: int
Initialize self. See help(type(self)) for accurate signature.
int
str
str
Add an app to the process.
AppInstance
Call the health check of the app to check if it is still running
bool
int
Find the app that was generated from the given resource model id
str
gws_core.apps.app_instance.AppInstance | None
Get the app instance and check if it exists
str
AppInstance
str
gws_core.apps.app_instance.AppInstance | None
str
AppInstanceUrl
Get 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
- ''
str
FrontTheme
str
int
Get the current status of the app process
AppProcessStatus
AppProcessStatusDTO
Get the current status text of the app process
str
Get the token of the app process. This is used to secure the app and allow access to it.
str
str
str
bool
Check if the app process is running
bool
Check if the app process is starting
bool
Check if the app process is stopped
bool
Set the status and status text of the app process
AppProcessStatus
str
- ''
Start the process for the app using app_id
str
Method to start the check running loop to check if the app is still used
Kill the process and all apps
bool
Return the user id from the user access token if the user has access to the app
str
str
str | None
Check if the process uses the given port
int
bool
Wait for the process to start
AppProcessStatus