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 A Way To Upload A Dict Object As A Yaml Artifact Instead Of A Json?

Is there a way to upload a dict object as a YAML artifact instead of a JSON?

  
  
Posted 2 years ago
Votes Newest

Answers 5


Yes, that's what I'm doing right now. I was hoping there was something that felt a little less hacky.

  
  
Posted 2 years ago

Maybe. Will look into this. Thanks for the suggestion.

  
  
Posted 2 years ago

Hmm would uploading it as YAML string be better?

  
  
Posted 2 years ago

We usually use YAML objects rather than JSON objects, so our code littered with local saving of objects just so that we can upload them again as artifacts.

  
  
Posted 2 years ago

Hi ProudChicken98
How about saving it as a local YAML and upload the file itself as an artifact?

  
  
Posted 2 years ago