Skip to content

Commit

Permalink
optional int
Browse files Browse the repository at this point in the history
  • Loading branch information
salazarm committed Oct 9, 2023
1 parent b945db8 commit 98d071b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python_modules/dagster-webserver/dagster_webserver/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,15 +241,15 @@ 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
)
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)

Expand Down

0 comments on commit 98d071b

Please sign in to comment.