def POST(self, pitch_key): p = pitch.get_pitch_by_key(pitch_key) storage = web.input() transcription = storage["result[transcription]"] pitch.save_transcription(p['pitch_id'], transcription)
def POST(self, pitch_key): p = pitch.get_pitch_by_key(pitch_key) recording = web.input()['filename'] self.s3_upload(p['pitch_id'], recording)