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 There, I'M Looking Into Config With Env Vars. Is There An Sdk/Client Equivalent To The Server'S Dynamic Env Vars Definition?

Hi there, I'm looking into config with env vars. Is there an sdk/client equivalent to the server's dynamic env vars definition? None
Looking at the example CLEARML__SECURE__CREDENTIALS__APISERVER__USER_SECRET I'm guessing it could look like CLEARML__CLEARML__SDK__AWS__S3__KEY ?

  
  
Posted 15 days ago
Votes Newest

Answers 5


Hi BrightJellyfish46 , the agent does support this env var format (using the CLEARML_AGENT prefix), but the SDK does not

  
  
Posted 14 days ago

You may not be part of clearML... but do you know if there's any plan to support that config pattern? 12-factor style is so common nowadays that it feels odd not having it

  
  
Posted 13 days ago

meanwhile, the SDK support CLEARML_CONFIG_FILE=/path
Not sure what is your use case, but if you want it to be dynamic, you can on-the-fly create the config file to /tmp for example and point to that in your code with

import os
os.environ['CLEARML_CONFIG_FILE']="/path"

import clearml
  
  
Posted 12 days ago

note: you will need to set the env var very early, before the first import clearml in your code

  
  
Posted 12 days ago

May be create a Feature request on github ?

  
  
Posted 12 days ago
88 Views
5 Answers
15 days ago
12 days ago
Tags