Glider
|
Functions | |
get_path (local_path) | |
download_local_file (event, local_path) | |
run_file_cleaning (event) | |
Constants | |
f_path = __file__ | |
index = f_path.find("upload_module/") | |
src.upload_module.gdrive.FileCleaning.download_local_file | ( | event, | |
local_path ) |
Downloads files uploaded directly via Otto Light interface in a temporal folder Args: event (dict): Contains the bucket and folder info where file was uploaded local_path (str): Root path where is saved files Returns : Nothing
Definition at line 35 of file FileCleaning.py.
src.upload_module.gdrive.FileCleaning.get_path | ( | local_path | ) |
Adds the last folder downloaded to root path Args: local_path (str): Root path where is saved files Returns : The actual folder where files where downloaded
Definition at line 18 of file FileCleaning.py.
src.upload_module.gdrive.FileCleaning.run_file_cleaning | ( | event | ) |
Transform Gdrive link to ID drive to be downloaded by Google API and execute all procedure Args: event (dict): Shared link of the folder/file to download Returns : The actual folder where files where downloaded
Definition at line 61 of file FileCleaning.py.
src.upload_module.gdrive.FileCleaning.f_path = __file__ |
Definition at line 8 of file FileCleaning.py.
src.upload_module.gdrive.FileCleaning.index = f_path.find("upload_module/") |
Definition at line 9 of file FileCleaning.py.