Updates to the configs
This commit is contained in:
parent
b96a0b3177
commit
bbfec1c044
2 changed files with 2 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ async def add_files(file_paths: List[str], dataset_name: str):
|
|||
else:
|
||||
processed_file_paths.append(file_path)
|
||||
|
||||
db = duckdb.connect(relational_config.database_directory_path)
|
||||
db = duckdb.connect(relational_config.db_file_path)
|
||||
|
||||
destination = dlt.destinations.duckdb(
|
||||
credentials = db,
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ class RelationalConfig(BaseSettings):
|
|||
db_name=db_name,
|
||||
db_path=db_path
|
||||
)
|
||||
db_file_path = os.path.join(db_path, db_name)
|
||||
database_path: str = os.path.join(config.system_root_directory, "databases")
|
||||
database_directory_path: str = db_path
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue