(config_path="./config.yaml")
| 3 | |
| 4 | |
| 5 | def load_config(config_path="./config.yaml"): |
| 6 | configs = dict(os.environ) |
| 7 | with open(config_path, "r") as file: |
| 8 | yaml_data = yaml.safe_load(file) |
| 9 | configs.update(yaml_data) |
| 10 | return configs |
no outgoing calls
no test coverage detected