From 62924a033cb2a0130cc6a072e03590f8eec5ac72 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Sat, 8 Nov 2025 08:11:24 +0100 Subject: ouroboros: Flow compatibility with O7s 0.22 O7s 0.22 moved the cypher strength from QoS to the service name properties and removed QoS spec from the broadcast API (flow_join). --- ouroboros/dev.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'ouroboros/dev.py') diff --git a/ouroboros/dev.py b/ouroboros/dev.py index e0b1488..bc5d133 100644 --- a/ouroboros/dev.py +++ b/ouroboros/dev.py @@ -144,8 +144,7 @@ class Flow: def join(self, dst: str, - qos: QoSSpec = None, - timeo: float = None) -> Optional[QoSSpec]: + timeo: float = None) -> None: """ Join a broadcast layer @@ -158,16 +157,12 @@ class Flow: if self.__fd >= 0: raise FlowAllocatedException() - _qos = _qos_to_qosspec(qos) - _timeo = _fl_to_timespec(timeo) - self.__fd = lib.flow_join(dst.encode(), _qos, _timeo) + self.__fd = lib.flow_join(dst.encode(), _timeo) _raise(self.__fd) - return _qosspec_to_qos(_qos) - def dealloc(self): """ Deallocate a flow -- cgit v1.2.3