mirror of
https://github.com/onyx-and-iris/vban-cmd-python.git
synced 2026-03-12 04:59:09 +00:00
add missing cached_property
This commit is contained in:
parent
d1bcbfed6f
commit
5f7b62a0e0
@ -227,7 +227,7 @@ class VbanRTPacketNBS0(VbanRTPacket):
|
|||||||
bus_gain_raw = struct.unpack('<8h', self._busGaindB100)
|
bus_gain_raw = struct.unpack('<8h', self._busGaindB100)
|
||||||
return tuple(round(val * 0.01, 2) for val in bus_gain_raw)
|
return tuple(round(val * 0.01, 2) for val in bus_gain_raw)
|
||||||
|
|
||||||
@property
|
@cached_property
|
||||||
def labels(self) -> Labels:
|
def labels(self) -> Labels:
|
||||||
"""returns Labels namedtuple of strip and bus labels"""
|
"""returns Labels namedtuple of strip and bus labels"""
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user