def put(self, id): self.response['data'] = crud.update( 'artboards', id, self.request.arguments, artboard_scehma) self.write_json()
def put(self, id): self.response['data'] = crud.update( 'documents', id, self.request.arguments, document_schema) self.write_json()