The launcher.py module#

Summary#

DataclassProtocol

Provides the Protocol class for Python dataclasses.

LauncherProtocol

Provides the interface for managing a local product instance.

ServerType

Defines which protocols the server supports.

METADATA_KEY_DOC

Key used in the dataclasses.Field metadata for the option description.

METADATA_KEY_NOPROMPT

Key used in the dataclasses.Field metadata to skip prompting for the option by default.

FALLBACK_LAUNCH_MODE_NAME

LAUNCHER_CONFIG_T

Description#

Interface definitions for implementing a local product launcher.

A plugin for the local product launcher must implement the LauncherProtocol class and register it.

Module detail#

launcher.METADATA_KEY_DOC = 'launcher_doc'#

Key used in the dataclasses.Field metadata for the option description.

launcher.METADATA_KEY_NOPROMPT = 'launcher_noprompt'#

Key used in the dataclasses.Field metadata to skip prompting for the option by default.

launcher.FALLBACK_LAUNCH_MODE_NAME = '__fallback__'#
launcher.LAUNCHER_CONFIG_T#