commit f95fa474f55dd3d63ad576cee75768abc720b1e5 Author: juga0 juga@riseup.net Date: Sat Aug 25 12:53:10 2018 +0000
Add property to obtain observed bandwidth --- sbws/lib/relaylist.py | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/sbws/lib/relaylist.py b/sbws/lib/relaylist.py index f177a96..aa197c0 100644 --- a/sbws/lib/relaylist.py +++ b/sbws/lib/relaylist.py @@ -75,6 +75,10 @@ class Relay: return self._from_desc('average_bandwidth')
@property + def observed_bandwidth(self): + return self._from_desc('observed_bandwidth') + + @property def bandwidth(self): return self._from_ns('bandwidth')