def _write_methods(method_descriptors, out):
  for method in method_descriptors:
    out << ''
    out << "@remote.method('%s', '%s')" % (method.request_type,
                                           method.response_type)
    out << 'def %s(self, request):' % (method.name,)
    with out.indent():
      out << ('raise NotImplementedError'
              "('Method %s is not implemented')" % (method.name))
Store EegSubject to disk as CSVs, one trial per CSV, in a directory.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/protorpc/protorpc/generate_python.py/_write_methods--crossover with--dataset/ETHPy150Open turambar/pyDatasets/pydatasets/uci/eeg.py/EegSubject.to_csvs