Merged two functions, improved comments
This commit is contained in:
parent
4d94d389cd
commit
808533fabd
2 changed files with 9 additions and 31 deletions
|
|
@ -174,7 +174,7 @@ class App(db.Model):
|
|||
|
||||
def to_dict(self):
|
||||
"""
|
||||
represent this object as a json object. Return JSON object
|
||||
represent this object as a dict, compatible for JSON output
|
||||
"""
|
||||
|
||||
return {"id": self.id,
|
||||
|
|
|
|||
Reference in a new issue