added r script not releasable code yet
This commit is contained in:
8
main.py
8
main.py
@ -3,15 +3,19 @@ from dash import Dash
|
||||
from dash_bootstrap_components.themes import BOOTSTRAP
|
||||
|
||||
from src.components.layout import create_layout
|
||||
from src.data.loader_gz import load_transaction_data
|
||||
from src.data.loader_gz import load_spc_data
|
||||
from json import load
|
||||
import os
|
||||
from dotenv import load_dotenv
|
||||
|
||||
load_dotenv()
|
||||
config_file = "./config.json"
|
||||
|
||||
with open(config_file) as config_f:
|
||||
config=load(config_f)
|
||||
|
||||
def main() -> None:
|
||||
|
||||
print(os.getenv("MY_ENV_VAR"))
|
||||
# load the data and create the data manager
|
||||
data = load_transaction_data(config["DATA_PATH"])
|
||||
|
||||
|
Reference in New Issue
Block a user