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.
- name
Optional[str],optional Node name, by default
None.- algorithm_type
Optional[str],optional Algorithm type, e. g. ‘algorithm_plugin’, by default None.
- integration_type
Optional[str],optional Integration type, e. g. ‘integration_plugin’, by default None.
- mop_node_type
Optional[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_uid
Optional[str],optional Parent uid, by default
None.- design_flow
Optional[str],optional Design flow option, by default
None.
- type_
- Returns:
strUid of the created node.
- Raises:
OslCommunicationErrorRaised when an error occurs while communicating with server.
OslCommandErrorRaised when the command or query fails.
TimeoutErrorRaised when the timeout float value expires.