Skip to content

Commit

Permalink
add login message for blocking server up
Browse files Browse the repository at this point in the history
  • Loading branch information
strickvl committed Jan 15, 2024
1 parent 21543ef commit 45a0e96
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/zenml/cli/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,16 @@ def up(
from zenml.zen_server.deploy.deployment import ServerDeploymentConfig

server_config = ServerDeploymentConfig(**config_attrs)
if blocking:
from zenml.constants import (
DEFAULT_USERNAME,
)

cli_utils.declare(
"The local ZenML dashboard is about to deploy in a "
"blocking process. You can connect to it using the "
f"'{DEFAULT_USERNAME}' username and an empty password."
)
server = deployer.deploy_server(server_config)

assert gc.store is not None
Expand Down

0 comments on commit 45a0e96

Please sign in to comment.