Ignore __repr__ in models/audit_event
This commit is contained in:
parent
4346380179
commit
0065ba83d1
@ -33,7 +33,7 @@ class AuditEvent(Base, TimestampsMixin):
|
|||||||
|
|
||||||
connection.execute(self.__table__.insert(), **attrs)
|
connection.execute(self.__table__.insert(), **attrs)
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self): # pragma: no cover
|
||||||
return "<AuditEvent(name='{}', action='{}', id='{}')>".format(
|
return "<AuditEvent(name='{}', action='{}', id='{}')>".format(
|
||||||
self.display_name, self.action, self.id
|
self.display_name, self.action, self.id
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user