Skip to content
Snippets Groups Projects
Verified Commit 34f72e35 authored by Daniel Hornung's avatar Daniel Hornung
Browse files

FIX: Reverted some changes.

parent a8000fa6
No related branches found
No related tags found
1 merge request!189ENH: add convenience functions
Pipeline #63319 failed
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment