Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hi Everyone. How Can I Get Metadata For Datasets From An Entire Project? I See The Opportunity To Work With Only One Dataset

Hi everyone. How can I get metadata for datasets from an entire project?
I see the opportunity to work with only one dataset

  
  
Posted 5 months ago
Votes Newest

Answers 2


Hi @<1524560082761682944:profile|MammothParrot39> , how do you usually fetch metadata from a dataset?

  
  
Posted 5 months ago

@<1523701070390366208:profile|CostlyOstrich36> I did it,, but I think its not optimal))

This is how I got information about FieldNet project:
from clearml import Task, Dataset

all_taks = Task.get_tasks()

FieldNet_tasks = {}
for task in all_taks:
name = task.name
task_id = task.task_id
if 'FieldNet' in name:
if name in FieldNet_tasks:
# get last dataset version
task_old_version = Task.get_task(task_id=FieldNet_tasks[name]).get_parameters_as_dict()['properties']['version']
task_new_version = Task.get_task(task_id=task_id).get_parameters_as_dict()['properties']['version']
if int(task_new_version.split('.')[-1]) > int(task_old_version.split('.')[-1]):
FieldNet_tasks[name] = task_id
else:
FieldNet_tasks[name] = task_id

  
  
Posted 5 months ago
387 Views
2 Answers
5 months ago
5 months ago
Tags