Glider
|
Go to the source code of this file.
Namespaces | |
namespace | src |
namespace | src.report_generation |
namespace | src.report_generation.GenReport |
Functions | |
src.report_generation.GenReport.get_month (date) | |
src.report_generation.GenReport.build_csv (event) | |
Constants | |
src.report_generation.GenReport.f_path = __file__ | |
src.report_generation.GenReport.index = f_path.find("report_generation/") | |
src.report_generation.GenReport.mongo_conn = mongo_connection() | |
Class to connect to mongodb. | |
src.report_generation.GenReport.collection = mongo_conn.mongo_conn_sales() | |
Mongo collection to consult sales. | |
src.report_generation.GenReport.ROOT_DIR = os.path.expanduser('~') | |
Sets the root path. | |
str | src.report_generation.GenReport.path = ROOT_DIR+"/Reports/" |
Creates the folder when reports will be saved. | |