AgenticDataPipeline / utils /initMethods.py
Rauhan's picture
push
5ec1ba2
raw
history blame contribute delete
276 Bytes
import configparser
import yaml
def readYaml(filePath: str) -> dict:
with open(filePath, "r") as f:
content = yaml.safe_load(f)
return content
def getConfig(path: str) -> dict:
config = configparser.ConfigParser()
config.read(path)
return config