From 98d071b7b9efe7b2ef13abd3f873419e8e7d2dbd Mon Sep 17 00:00:00 2001 From: Marco Salazar Date: Mon, 9 Oct 2023 13:27:10 -0400 Subject: [PATCH] optional int --- python_modules/dagster-webserver/dagster_webserver/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python_modules/dagster-webserver/dagster_webserver/cli.py b/python_modules/dagster-webserver/dagster_webserver/cli.py index 35f3876661411..1dc6a3393a404 100644 --- a/python_modules/dagster-webserver/dagster_webserver/cli.py +++ b/python_modules/dagster-webserver/dagster_webserver/cli.py @@ -241,7 +241,7 @@ def host_dagster_ui_with_workspace_process_context( port: Optional[int], path_prefix: str, log_level: str, - live_data_poll_rate: int, + live_data_poll_rate: Optional[int] = None, ): check.inst_param( workspace_process_context, "workspace_process_context", IWorkspaceProcessContext @@ -249,7 +249,7 @@ def host_dagster_ui_with_workspace_process_context( host = check.opt_str_param(host, "host", "127.0.0.1") check.opt_int_param(port, "port") check.str_param(path_prefix, "path_prefix") - check.int_param(live_data_poll_rate, "live_data_poll_rate") + check.opt_int_param(live_data_poll_rate, "live_data_poll_rate") logger = logging.getLogger(WEBSERVER_LOGGER_NAME)