feat: create config class to replace use of config file in application
This commit is contained in:
@@ -2,12 +2,10 @@ import os
|
||||
from pathlib import Path
|
||||
|
||||
from icecream import ic
|
||||
from omegaconf import OmegaConf
|
||||
|
||||
from src.backend.database import Database
|
||||
|
||||
db = Database()
|
||||
config = OmegaConf.load("config.yaml")
|
||||
|
||||
|
||||
def recreateFile(name, app_id, filetype, open=True) -> Path:
|
||||
|
||||
Reference in New Issue
Block a user