Object representing a streamlit process, one instance of 'streamlit run' command. It can manage multiple streamlit apps using the same environment.
Attributes
app_type: Literal
current_running_apps: Dict
env_hash: str
host_url: str
port: int
token: str
Functions
Initialize self. See help(type(self)) for accurate signature.
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
port | int | ||
host_url | str | ||
app_type | Literal | ||
env_hash | str |
Return type:
bool |
Return type:
int |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
app | StreamlitApp |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
app_id | str |
Return type:
gws_core.streamlit.streamlit_app.StreamlitApp | None |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
app_id | str |
Return type:
str |
Return type:
FrontTheme |
Return type:
str |
Return type:
StreamlitProcessStatusDTO |
Return type:
str |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
app_id | str |
Return type:
bool |
Return type:
bool |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
dev_config_file | str |
Method to start the check running loop to check if the app is still used
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
app | StreamlitApp |
Kill the process and all apps