_id is filled with uuid4 if not set yet

This commit is contained in:
iLLiCiTiT 2020-12-10 10:00:08 +01:00
parent 9e04212380
commit c33c8bbc36

View file

@ -34,6 +34,8 @@ class PypeModule:
@property
def id(self):
if self._id is None:
self._id = uuid4()
return self._id
@abstractmethod