File size: 207 Bytes
59ba192
 
 
 
 
 
 
1
2
3
4
5
6
7
import os
import yaml

def getYamlConfig():
    file_path = os.path.join(os.path.dirname(__file__), 'config.yaml')
    with open(file_path, 'r', encoding='utf-8') as file:
        return yaml.safe_load(file)