Ignore __repr__ in models/request_internal_comment
This commit is contained in:
parent
558cb425ae
commit
75e5b2d425
@ -16,7 +16,7 @@ class RequestInternalComment(Base, mixins.TimestampsMixin):
|
|||||||
request_id = Column(ForeignKey("requests.id", ondelete="CASCADE"), nullable=False)
|
request_id = Column(ForeignKey("requests.id", ondelete="CASCADE"), nullable=False)
|
||||||
request = relationship("Request")
|
request = relationship("Request")
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self): #pragma: no cover
|
||||||
return "<RequestInternalComment(text='{}', user='{}', request='{}', id='{}')>".format(
|
return "<RequestInternalComment(text='{}', user='{}', request='{}', id='{}')>".format(
|
||||||
self.text, self.user.full_name, self.request_id, self.id
|
self.text, self.user.full_name, self.request_id, self.id
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user