WIP: Changed annotation syntax to properties and created mutable user_properties #31

Closed
rskthomas wants to merge 27 commits from rework/properties into main
Showing only changes of commit 9a45988875 - Show all commits

View file

@ -95,11 +95,11 @@ class Device:
key__in=algos,
).values_list("value", flat=True)))
def get_properties(self):
def get_evidences(self):
if not self.uuids:
self.get_uuids()
self.properties = [SystemProperty(u) for u in self.uuids]
self.evidences = [Evidence(u) for u in self.uuids]
def get_last_evidence(self):
properties = self.get_properties()