Glider
Loading...
Searching...
No Matches
src.importer.Excel_to_csv Namespace Reference

Functions

 upload_info_mongo (event, path, file_id, filename)
 
 pass_excel_to_csv (event, files, xls, s3)
 

Function Documentation

◆ pass_excel_to_csv()

src.importer.Excel_to_csv.pass_excel_to_csv ( event,
files,
xls,
s3 )
Transform xsl file into csv file(s) according sheets number 

Args:
    event (dict): is a dictionary with all client and sales information
    files (dict): is a dictionary with file information
    xls (ExcelFile obj): file loaded as Excel file
    s3 (boto3 client): AWS client connection
Returns: event (dict)

Definition at line 34 of file Excel_to_csv.py.

Here is the call graph for this function:

◆ upload_info_mongo()

src.importer.Excel_to_csv.upload_info_mongo ( event,
path,
file_id,
filename )
Upload file information from xls file to new CSV file 

Args:
    event (dict): 
    path (str): s3 path where file is storage
    file_id (str): current/new file_id assigned for mongodb
    filename (str): current file
Returns: Nothing

Definition at line 8 of file Excel_to_csv.py.

Here is the caller graph for this function: