Hi @<1523709807092043776:profile|GrittyKangaroo27>
some of my completed datasets,
This only has an effect on the dataset when it is being uploaded, if completed it is there for logging purposes only. What is exactly the use case? (just to be verify, once a Task/Dataset is completed you cannot edit it)
@<1523701205467926528:profile|AgitatedDove14> The only reason I want to change the destination
is because of an unforeseeable mistake in the past. Now I must change the old destination
(private IP address) of my past datasets to the new alias (labserver-2) to be able to download using the python script.
@<1523701205467926528:profile|AgitatedDove14> do you have any documents and/or instruction to do so?
@<1523701205467926528:profile|AgitatedDove14> Thanks, I'll give it a try
ohh, not really 😞 this is really low level editing the DB.
You might be able to forcefully edit the links (i.e. artifacts) on the Dataset (task)
Check if this works
from clearml.backend_api.session.client import APIClient
c = APIClient()
t = c.tasks.get_by_id("DATASET_UUID_HERE")
# you might need to loop over the artifacts
t.data.execution.artifacts[0].uri = "
"
c.tasks.edit(task=t.id, execution=t.data.execution, force=True)
I see, so basically fix old links that are now not accessible? If this is the case you might need to manually change the document on the mongodb running in the backend