Beispiel #1
0
 def find_by_id(id):
     return Permission.from_db(db.get_perm(id))
Beispiel #2
0
 def find_by_id(id: str) -> Optional['Permission']:
     return Permission.from_db(db.get_perm(id))
Beispiel #3
0
 def find_by_id(id):
     return Permission.from_db(db.get_perm(id))
Beispiel #4
0
 def find_by_id(id: str) -> Optional['Permission']:
     return Permission.from_db(db.get_perm(id))
Beispiel #5
0
 def get(id):
     return Permission.from_db(db.get_perm(id))