mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
add metadata fields: label, type to data (#8232)
gto like metadata fields: labels and type
This commit is contained in:
@@ -47,6 +47,10 @@ def test_commit_preserve_fields(tmp_dir, dvc):
|
||||
outs:
|
||||
- path: foo # out comment
|
||||
desc: out desc
|
||||
type: mytype
|
||||
labels:
|
||||
- label1
|
||||
- label2
|
||||
remote: testremote
|
||||
meta: some metadata
|
||||
"""
|
||||
@@ -61,6 +65,10 @@ def test_commit_preserve_fields(tmp_dir, dvc):
|
||||
outs:
|
||||
- path: foo # out comment
|
||||
desc: out desc
|
||||
type: mytype
|
||||
labels:
|
||||
- label1
|
||||
- label2
|
||||
remote: testremote
|
||||
md5: acbd18db4cc2f85cedef654fccc4a4d8
|
||||
size: 3
|
||||
|
||||
Reference in New Issue
Block a user