fix(code): Fix yaml library overwriting
The yaml loader just being called yaml overwrote loading the external yaml library in the file itself. Simple fix by renaming module to yml.py.
This commit is contained in:
parent
65e1ab9ca6
commit
673cf88c13
2 changed files with 2 additions and 2 deletions
|
@ -2,9 +2,9 @@ import io
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
import sys
|
import sys
|
||||||
try:
|
try:
|
||||||
import src.yaml as yaml # for quarto document scripts
|
import src.yml as yaml # for quarto document scripts
|
||||||
except ModuleNotFoundError:
|
except ModuleNotFoundError:
|
||||||
import yaml as yaml # for directly running the package
|
import yml as yaml # for directly running the package
|
||||||
from pandas import DataFrame, read_csv
|
from pandas import DataFrame, read_csv
|
||||||
|
|
||||||
DEFAULT_YAML_PATH = Path("02-data/processed")
|
DEFAULT_YAML_PATH = Path("02-data/processed")
|
||||||
|
|
Loading…
Reference in a new issue