pysepal.solara.setup.setup_solara_server#
- pysepal.solara.setup.setup_solara_server(extra_asset_locations=None)[source]#
Configure common Solara server settings for pysepal applications.
This function sets up standard configurations that are commonly needed across pysepal-based Solara applications, avoiding the need to duplicate these settings in every application.
Always includes: - FontAwesome 6.7.2 - pysepal common assets (CSS, JS) - No kernel timeout (“0s”) (helps to kill sessions once the page is closed)
If extra asset locations are provided, this function will merge all CSS and JS files into combined files to ensure they are all properly served by Solara.
- Parameters:
extra_asset_locations (List[str | Path] | None) – Additional asset locations to serve beyond pysepal’s common assets
- Return type:
None