def main(): hdf = getHDFStore() log.info('HDF file is {0}'.format(hdf)) fetchCallbacks = [] parseCallbacks = [StationStatusParse( hdf), LineStatusParse( hdf), PredictionSummaryParse( hdf), PredictionDetailedParse( hdf) ] cleanupCallbacks = [] midnightCallbacks = [midnightRollHDF] mainLoop(fetchCallbacks, parseCallbacks, cleanupCallbacks, midnightCallbacks)
def main(): fetchCallbacks = [] parseCallbacks = [] cleanupCallbacks = [uploadToS3] midnightCallbacks = [] mainLoop(fetchCallbacks, parseCallbacks, cleanupCallbacks, midnightCallbacks)
def main(): fetchCallbacks = [Base()] parseCallbacks = [] cleanupCallbacks = [] midnightCallbacks = [] mainLoop(fetchCallbacks, parseCallbacks, cleanupCallbacks, midnightCallbacks)