Skip to content

Construct_remote_base_url

Construct the base URL of the remote Datatailr instance for a given service name.

Parameters:

  • service_name

    (str) –

    The name of the service.

  • environment

    (str | None, default: None ) –

    The environment of the service.

Returns:

  • str

    The base URL of the remote Datatailr instance for the given service name.

Raises:

  • RuntimeError

    If not logged in or config is invalid.