diff --git a/panchayat/__init__.py b/panchayat/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/src/processor/yaml/vdb.py b/panchayat/vdb.py similarity index 100% rename from src/processor/yaml/vdb.py rename to panchayat/vdb.py diff --git a/src/processor/yaml/yaml_to_jsonl.py b/src/processor/yaml/yaml_to_jsonl.py index 717c49fa..258739f8 100644 --- a/src/processor/yaml/yaml_to_jsonl.py +++ b/src/processor/yaml/yaml_to_jsonl.py @@ -9,7 +9,7 @@ import re import yaml # Internal Packages -from src.processor.yaml import vdb +from panchayat import vdb from src.utils.helpers import get_absolute_path, is_none_or_empty from src.utils.constants import empty_escape_sequences from src.utils.jsonl import dump_jsonl, compress_jsonl_data diff --git a/src/utils/rawconfig.py b/src/utils/rawconfig.py index 4fd4be96..cfac2b44 100644 --- a/src/utils/rawconfig.py +++ b/src/utils/rawconfig.py @@ -43,6 +43,7 @@ class ContentConfig(ConfigBase): ledger: Optional[TextContentConfig] image: Optional[ImageContentConfig] music: Optional[TextContentConfig] + yaml: Optional[TextContentConfig] markdown: Optional[TextContentConfig] class TextSearchConfig(ConfigBase):