Hi SharpDove45
what
suggested about how it fails on bad/missing credentials
Yes, this is correct, since you specifically set the hosts worst case you will end up with wrong credentials 🙂
Yea, i tried CLEARML_NO_DEFAULT_SERVER=True
and it didn’t work, i assumed it had something to do with my env setup which is a bit problematic, anyhow, assuming True
is a valid value, i can see. what FrothyDog40 suggested about how it fails on bad/missing credentials 🙂
SharpDove45 FYI:
if you set the environment variable CLEARML_NO_DEFAULT_SERVER=1
, it will make sure never to default to the demo server
SharpDove45 you can programmatically control the configured server using https://allegro.ai/clearml/docs/rst/references/clearml_python_ref/task_module/task_task.html?highlight=set_credentials#clearml.task.Task.set_credentials
If the credentials don't provide access, the calls should fail (there's no fallback - just default values in place of empty configuration).
Notice you explicitly configure all hosts values, so you don't end up using a specific server for API access, and the default demo server for File server access...
I know, but if there’s an issue with the provided credentials, will it default to the demo server?