Skip to main content
Version: devel

dlt._workspace.deployment.launchers._launcher

exec_process

def exec_process(argv: List[str]) -> None

View source on GitHub

Replace the current process with argv on POSIX; spawn + wait on Windows.

parse_launcher_args

def parse_launcher_args(
argv: Optional[List[str]] = None) -> argparse.Namespace

View source on GitHub

Parse the standard launcher command line.

All launchers share the same CLI interface: python -m dlt._workspace.deployment.launchers.<name> --run-id <uuid> --trigger <trigger_string> --entry-point <json_TRuntimeEntryPoint>

get_run_args_port

def get_run_args_port(entry_point: TRuntimeEntryPoint) -> int

View source on GitHub

Extract port from run_args. Raises if not provided.

get_run_args_base_path

def get_run_args_base_path(entry_point: TRuntimeEntryPoint) -> str

View source on GitHub

Extract base_path from run_args. Returns empty string if not set.

resolve_module_path

def resolve_module_path(module_name: str) -> str

View source on GitHub

Resolve a Python module name to its file path.

set_config_env_vars

def set_config_env_vars(sections: Tuple[str, ...], config: Dict[str,
Any]) -> None

View source on GitHub

Set config params as env vars using EnvironProvider naming convention.

This demo works on codespaces. Codespaces is a development environment available for free to anyone with a Github account. You'll be asked to fork the demo repository and from there the README guides you with further steps.
The demo uses the Continue VSCode extension.

Off to codespaces!

DHelp

Ask a question

Welcome to "Codex Central", your next-gen help center, driven by OpenAI's GPT-4 model. It's more than just a forum or a FAQ hub – it's a dynamic knowledge base where coders can find AI-assisted solutions to their pressing problems. With GPT-4's powerful comprehension and predictive abilities, Codex Central provides instantaneous issue resolution, insightful debugging, and personalized guidance. Get your code running smoothly with the unparalleled support at Codex Central - coding help reimagined with AI prowess.