|
@@ -50,7 +50,6 @@ def run(*,
|
|
|
uvicorn_reload_dirs: str = '.',
|
|
|
uvicorn_reload_includes: str = '*.py',
|
|
|
uvicorn_reload_excludes: str = '.*, .py[cod], .sw.*, ~*',
|
|
|
- exclude: str = '',
|
|
|
tailwind: bool = True,
|
|
|
storage_secret: Optional[str] = None,
|
|
|
**kwargs: Any,
|
|
@@ -76,8 +75,6 @@ def run(*,
|
|
|
:param uvicorn_reload_dirs: string with comma-separated list for directories to be monitored (default is current working directory only)
|
|
|
:param uvicorn_reload_includes: string with comma-separated list of glob-patterns which trigger reload on modification (default: `'.py'`)
|
|
|
:param uvicorn_reload_excludes: string with comma-separated list of glob-patterns which should be ignored for reload (default: `'.*, .py[cod], .sw.*, ~*'`)
|
|
|
- :param exclude: comma-separated string to exclude elements (with corresponding JavaScript libraries) to save bandwidth
|
|
|
- (possible entries: aggrid, audio, chart, colors, interactive_image, joystick, keyboard, log, markdown, mermaid, plotly, scene, video)
|
|
|
:param tailwind: whether to use Tailwind (experimental, default: `True`)
|
|
|
:param storage_secret: secret key for browser based storage (default: `None`, a value is required to enable ui.storage.individual and ui.storage.browser)
|
|
|
:param kwargs: additional keyword arguments are passed to `uvicorn.run`
|
|
@@ -90,7 +87,6 @@ def run(*,
|
|
|
globals.dark = dark
|
|
|
globals.language = language
|
|
|
globals.binding_refresh_interval = binding_refresh_interval
|
|
|
- globals.excludes = [e.strip() for e in exclude.split(',')]
|
|
|
globals.tailwind = tailwind
|
|
|
|
|
|
if multiprocessing.current_process().name != 'MainProcess':
|