Auto-update: Thu Aug 8 07:41:23 PDT 2024
This commit is contained in:
parent
1fe3f605bf
commit
6897e51fa0
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ class DirConfig(BaseModel):
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def load(cls, yaml_path: Union[str, Path]) -> 'DirConfig':
|
def load(cls, yaml_path: Union[str, Path]) -> 'DirConfig':
|
||||||
yaml_path = cls._resolve_path(yaml_path)
|
yaml_path = cls._resolve_path(yaml_path, 'config')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
with yaml_path.open('r') as file:
|
with yaml_path.open('r') as file:
|
||||||
|
|
Loading…
Reference in a new issue