Add version to clearml-data list command

This commit is contained in:
Alex Burlacu 2023-05-23 14:57:07 +03:00
parent f99a5d03f6
commit 0fba023fc4

View File

@ -553,12 +553,12 @@ def ds_search(args):
+ str(id_col_len) + str(id_col_len)
+ "}" + "}"
) )
print(formatting.format("project", "name", "tags", "created", "id")) print(formatting.format("project", "name", "version", "tags", "created", "id"))
print("-" * len(formatting.format("-", "-", "-", "-", "-"))) print("-" * len(formatting.format("-", "-", "-", "-", "-")))
for d in datasets: for d in datasets:
print( print(
formatting.format( formatting.format(
d["project"], d["name"], str(d["tags"] or [])[1:-1], str(d["created"]).split(".")[0], d["id"] d["project"], d["name"], d["version"], str(d["tags"] or [])[1:-1], str(d["created"]).split(".")[0], d["id"]
) )
) )
return 0 return 0