Skip to content
Snippets Groups Projects
Commit 54a52d6d authored by Maxim Gonchar's avatar Maxim Gonchar
Browse files

Squashed 'dagflow/' changes from a94bd56c..a9118567

a9118567 feat: load_variables, enable loading the files
REVERT: a94bd56c feat: load_variables, enable loading the files

git-subtree-dir: dagflow
git-subtree-split: a9118567dbe64a3c09339a3bbb953cde16e0defe
parent a4cde643
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,8 @@ def LoadFileWithExt(*, key: str=None,**kwargs: Callable):
from yaml import load, Loader
def LoadYaml(fname: str):
return load(fname, Loader)
with open(fname, 'read') as file:
return load(file, Loader)
from dictwrapper.dictwrapper import DictWrapper
class NestedSchema(object):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment