Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

including app id in __repr__

  • Loading branch information...
commit d279f0ac34bca5181501bec7e3b7564ad13aa101 1 parent 1ad72fc
@gka gka authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 pbclient/__init__.py
View
6 pbclient/__init__.py
@@ -78,17 +78,17 @@ def __setattr__(self, name, value):
class App(DomainObject):
def __repr__(self):
- return 'pybossa.App("' + self.short_name + '")'
+ return 'pybossa.App("' + self.short_name + '", ' + str(self.id) + ')'
class Task(DomainObject):
def __repr__(self):
- return 'pybossa.Task("' + str(self.id) + '")'
+ return 'pybossa.Task(' + str(self.id) + ')'
class TaskRun(DomainObject):
def __repr__(self):
- return 'pybossa.TaskRun("' + str(self.id) + '")'
+ return 'pybossa.TaskRun(' + str(self.id) + ')'
# Apps
Please sign in to comment.
Something went wrong with that request. Please try again.