Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions launchable/commands/verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
from ..utils.authentication import get_org_workspace
from ..utils.click import emoji
from ..utils.commands import Command
from ..utils.http_client import DEFAULT_BASE_URL
from ..utils.java import get_java_command
from ..utils.launchable_client import LaunchableClient
from ..version import __version__ as version
Expand Down Expand Up @@ -80,6 +81,8 @@ def verify(context: click.core.Context):
click.echo("Organization: " + repr(org))
click.echo("Workspace: " + repr(workspace))
click.echo("Proxy: " + repr(os.getenv("HTTPS_PROXY")))
if client.base_url() != DEFAULT_BASE_URL:
click.echo("Server: " + repr(client.base_url()))
click.echo("Platform: " + repr(platform.platform()))
click.echo("Python version: " + repr(platform.python_version()))
click.echo("Java command: " + repr(java))
Expand Down
3 changes: 3 additions & 0 deletions launchable/utils/launchable_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ def print_exception_and_recover(self, e: Exception, warning: Optional[str] = Non
if warning:
click.echo(click.style(warning, fg=warning_color), err=True)

def base_url(self) -> str:
return self.http_client.base_url

def is_fail_fast_mode(self) -> bool:
state = self._get_workspace_state()
return state.get('fail_fast_mode', False)
Expand Down
Loading