Set ConfigLoader's project directory on module initialization (#4062)
This commit is contained in:
Родитель
49b6fba6e9
Коммит
4ed032cceb
|
@ -1 +1,8 @@
|
|||
"""BigQuery ETL."""
|
||||
from pathlib import Path
|
||||
|
||||
from .config import ConfigLoader
|
||||
|
||||
# We need to set the project dir before this module is imported from cli.__init__.py
|
||||
if __name__ == "bigquery_etl":
|
||||
ConfigLoader.set_project_dir(Path().absolute())
|
||||
|
|
Загрузка…
Ссылка в новой задаче