Refactor and format

This commit is contained in:
Montana
2018-09-05 13:58:30 -04:00
parent 109249d953
commit 40c248df16
4 changed files with 13 additions and 23 deletions

View File

@@ -21,10 +21,6 @@ class User(Base):
first_name = Column(String)
last_name = Column(String)
@property
def role(self):
return self.atat_role.name
@property
def atat_permissions(self):
return self.atat_role.permissions