Skip to content

Commit

Permalink
by default save in zntrack.json file
Browse files Browse the repository at this point in the history
  • Loading branch information
PythonFZ committed Apr 5, 2023
1 parent aecf033 commit f1a1d14
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions tests/integration/test_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@ def test_NodeWithMeta(proj_path, eager):
project.run(eager=eager)
if not eager:
node_w_meta.load()
dvc_yaml = yaml.safe_load(pathlib.Path("dvc.yaml").read_text())
assert dvc_yaml["stages"]["NodeWithMeta"]["meta"] == {
"author": "Fabian",
"title": "Test Node",
}

assert node_w_meta.author == "Fabian"

Expand Down
2 changes: 1 addition & 1 deletion zntrack/fields/meta/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Text(Field):

dvc_option: str = None
group = FieldGroup.PARAMETER
use_dvc_yaml: bool = True
use_dvc_yaml: bool = False

def get_files(self, instance) -> list:
"""Get the params.yaml file."""
Expand Down

0 comments on commit f1a1d14

Please sign in to comment.