create_node#

TcpOslServer.create_node(type_: str, name: str | None = None, algorithm_type: str | None = None, integration_type: str | None = None, mop_node_type: str | None = None, node_type: str | None = None, parent_uid: str | None = None, design_flow: str | None = None) str#

Create a new node of given type.

Parameters:
type_str

Type of the node.

nameOptional[str], optional

Node name, by default None.

algorithm_typeOptional[str], optional

Algorithm type, e. g. ‘algorithm_plugin’, by default None.

integration_typeOptional[str], optional

Integration type, e. g. ‘integration_plugin’, by default None.

mop_node_typeOptional[str], optional

MOP node type, e. g. ‘python_based_mop_node_plugin’, by default None.

node_type: Optional[str], optional

Node type, e. g. ‘python_based_node_plugin`, by default None.

parent_uidOptional[str], optional

Parent uid, by default None.

design_flowOptional[str], optional

Design flow option, by default None.

Returns:
str

Uid of the created node.

Raises:
OslCommunicationError

Raised when an error occurs while communicating with server.

OslCommandError

Raised when the command or query fails.

TimeoutError

Raised when the timeout float value expires.