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:
Marty Oehme 2024-01-18 11:07:22 +01:00
parent 65e1ab9ca6
commit 673cf88c13
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
2 changed files with 2 additions and 2 deletions

View file

@ -2,9 +2,9 @@ import io
from pathlib import Path
import sys
try:
import src.yaml as yaml # for quarto document scripts
import src.yml as yaml # for quarto document scripts
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
DEFAULT_YAML_PATH = Path("02-data/processed")