firmware description should not be cached
This commit is contained in:
parent
b6f3b8459f
commit
c18abb1b8c
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@ class MeshNode(models.Model):
|
||||||
return RangingBeacon.objects.filter(bssid=self.address).first()
|
return RangingBeacon.objects.filter(bssid=self.address).first()
|
||||||
|
|
||||||
# noinspection PyUnresolvedReferences
|
# noinspection PyUnresolvedReferences
|
||||||
@cached_property
|
@property
|
||||||
def firmware_description(self) -> Optional[FirmwareDescription]:
|
def firmware_description(self) -> Optional[FirmwareDescription]:
|
||||||
with suppress(AttributeError):
|
with suppress(AttributeError):
|
||||||
return self._firmware_description
|
return self._firmware_description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue