Ignore __repr__ in models/project
This commit is contained in:
parent
7133721439
commit
d4727b08fe
@ -21,7 +21,7 @@ class Project(Base, mixins.TimestampsMixin, mixins.AuditableMixin):
|
|||||||
def displayname(self):
|
def displayname(self):
|
||||||
return self.name
|
return self.name
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self): #pragma: no cover
|
||||||
return "<Project(name='{}', description='{}', workspace='{}', id='{}')>".format(
|
return "<Project(name='{}', description='{}', workspace='{}', id='{}')>".format(
|
||||||
self.name, self.description, self.workspace.name, self.id
|
self.name, self.description, self.workspace.name, self.id
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user