diff --git a/src/linkahead/common/models.py b/src/linkahead/common/models.py index 0985d8f0f652990e81fa3666fcd893f286a8e83c..da46c563fc65e88be8053ad87ffea66d060aee22 100644 --- a/src/linkahead/common/models.py +++ b/src/linkahead/common/models.py @@ -338,6 +338,17 @@ class Entity: def file(self, new_file): self.__file = new_file + # FIXME Add test. + @property # getter for _cuid + def cuid(self): + # Set if None? + return self._cuid + + # FIXME Add test. + @property # getter for _flags + def flags(self): + return self._flags.copy() # for dict[str, str] shallow copy is enough + def grant( self, realm: Optional[str] = None,