thanks! is this documented? (I am wondering whether I could have avoided bothering you with my question in the first place)
I don't see such a method in the docs, but it seems so natural that decided to ask.
where is the endpoint located? I can't find it, were only able to find this:
https://github.com/allegroai/clearml/blob/ccc8e83c58336928424ed14b176306b149258512/examples/services/monitoring/slack_alerts.py#L55
I am only getting one user for some reason, even though 4 are in the system
Can you try using the users.get_all_ex
endpoint?
SuccessfulKoala55 that worked, thanks a lot!
UpsetTurkey67 , I'm not sure. I know that the UI uses the API so everything shown in the UI exists in the backend. So, I just played a bit in iPython with dir(task)
to see what it offers 🙂
UpsetTurkey67 I think that should work
UpsetTurkey67 Hi,
You can get the user id that created the task through this way:from clearml import Task task=Task.init() #Fetching the Task object would also work user_id = task.data.user
Are you using the ClearML Free Hosted SaaS?
If you don't have many users you can see which user ID fits which name. If you want to make it automatic I think you'll need to use the API endpoint users.get_all
task.data.user is the user id, can I get it in the text form?