@gen.coroutine
def GetFileList(merged_store, marker):
 base_path = 'processed_data/device_details/'
 marker = os.path.join(base_path, marker)
 file_list = (yield gen.Task(store_utils.ListAllKeys, merged_store, prefix=base_path, marker=marker))
 file_list.sort()
 raise gen.Return(file_list)

@ gen . coroutine def GetFileList ( merged_store , marker ) : base_path = 'processed_data/device_details/' marker = os . path . join ( base_path , marker ) file_list = ( yield gen . Task ( store_utils . ListAllKeys , merged_store , prefix = base_path , marker = marker ) ) file_list . sort ( ) raise gen . Return ( file_list )
fetch the list of file names from s3 .