Ignore __repr__ in models/invitation

This commit is contained in:
Jay Newlin (PW) 2018-12-05 11:00:40 -05:00
parent 0065ba83d1
commit b58a2b0073

View File

@ -46,7 +46,7 @@ class Invitation(Base, TimestampsMixin, AuditableMixin):
email = Column(String, nullable=False)
def __repr__(self):
def __repr__(self): #pragma: no cover
return "<Invitation(user='{}', workspace_role='{}', id='{}', email='{}')>".format(
self.user_id, self.workspace_role_id, self.id, self.email
)