Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
CapProj
/
ats-optimizer
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
f95e348
ats-optimizer
/
utils
/
config_manager.py
CapProj
Upload 25 files
5dec17e
verified
6 days ago
raw
Copy download link
history
blame
Safe
241 Bytes
import
yaml
class
Config
:
def
__init__
(
self, config_path:
str
):
with
open
(config_path,
'r'
)
as
f:
self.config = yaml.safe_load(f)
def
__getattr__
(
self, name
):
return
self.config.get(name)