ezmsg.qt.session#

EzSession - runtime ownership for Qt/ezmsg integration.

Classes

class EzSession(graph_address=None)[source]#

Bases: object

Runtime owner for Qt/ezmsg endpoints and processor graphs.

Parameters:

graph_address (AddressType | None)

__init__(graph_address=None)[source]#
Parameters:

graph_address (tuple[str, int] | Address | None)

property running: bool#

Whether the session is active and ready to service runtime requests.

property graph_address: tuple[str, int] | Address | None#
attach(attachable)[source]#

Attach a subscriber, publisher, or processor graph to this session.

detach(attachable)[source]#

Detach a subscriber or publisher from this session.

Return type:

None