hopsworks.app #
App #
Represents a Hopsworks App (Streamlit application).
app_url property #
app_url: str | None
URL to the Streamlit UI, or None if not serving.
Example
apps = project.get_app_api()
app = apps.get_app("my_dashboard")
if app.serving:
print(app.app_url)
run #
Start the app.
Example
apps = project.get_app_api()
app = apps.get_app("my_dashboard")
app.run()
print(app.app_url)
| PARAMETER | DESCRIPTION |
|---|---|
await_serving | If True, wait until the app is serving before returning. TYPE: |
| RETURNS | DESCRIPTION |
|---|---|
App | Self, with updated state. |
| RAISES | DESCRIPTION |
|---|---|
hopsworks.client.exceptions.JobExecutionException | If the app fails to start or the serving timeout is exceeded. |
delete #
delete()
Delete the app entirely.
This stops the app if running and removes the job configuration.