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')
|