WattsonPythonService#

class wattson.services.wattson_python_service.WattsonPythonService(service_class: Type[PythonDeployment], service_configuration: ServiceConfiguration, network_node: WattsonNetworkNode)#

Bases: WattsonService

Methods

__init__

get_start_command

Returns the command to be executed for starting this service on the network node

get_stderr

returns:

The file descriptor to use as stderr

get_stdout

returns:

The file descriptor to use as stdout

write_configuration_file

Attributes

id

name

__init__(service_class: Type[PythonDeployment], service_configuration: ServiceConfiguration, network_node: WattsonNetworkNode)#
get_start_command() List[str]#

Returns the command to be executed for starting this service on the network node

Returns:

The start command as a list of strings.

Return type:

List[str]

get_stderr()#
Returns:

The file descriptor to use as stderr

get_stdout()#
Returns:

The file descriptor to use as stdout