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
Is There Any Way To Exclude Archived Datasets From Dataset.List_Datasets()?

Is there any way to exclude archived datasets from Dataset.list_datasets()?

  
  
Posted 10 months ago
Votes Newest

Answers 5


Hi @<1545216070686609408:profile|EnthusiasticCow4>
Oh dear, I think this argument is not exposed 😞

  • You can open a GH
  • If you want to add a PR this is very simple:None
include_archived=False,
):
   if not include_archived:
        system_tags = ["__$all", cls.__tag, "__$not", "archived"]
    else:
        system_tags = [cls.__tag]

...
   system_tags=system_tags,
   type=[str(Task.TaskTypes.data_processing)],

wdyt?

  
  
Posted 10 months ago

I think the PR is a good idea. I read the contribution guidelines. It talks about referencing an issue. Did you want me to duplicate this issue on the repo or is it enough to link to this thread?

  
  
Posted 10 months ago

It talks about referencing an issue.

Yes please, just better visibility 🙏

  
  
Posted 10 months ago

Sounds good. 👍

  
  
Posted 10 months ago

None

  
  
Posted 10 months ago