get_connections#

abstract Node.get_connections(slot_type: SlotType | None = None, slot_name: str | None = None) Tuple[Edge, ...]#

Get connections of a given direction and slot.

Parameters:
slot_type: Optional[SlotType], optional

Slot type, by default None.

slot_nameOptional[str], optional

Slot name, by default None.

Returns:
Tuple[Edge, …]

Tuple of connections of given direction and slot.

Raises:
OslCommunicationError

Raised when an error occurs while communicating with the server.

OslCommandError

Raised when a command or query fails.

TimeoutError

Raised when the timeout float value expire