bfc97737b4
although I spent way too much time on the server side since deciding to add Redis as "persistence".
7 lines
144 B
Python
7 lines
144 B
Python
from server.resource import Resource
|
|
|
|
|
|
class People(Resource):
|
|
__collection__ = 'people'
|
|
__required_keys__ = ('name', 'surname', 'age')
|