Can you try using the users.get_all_ex
endpoint?
SuccessfulKoala55 that worked, thanks a lot!
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
thanks! is this documented? (I am wondering whether I could have avoided bothering you with my question in the first place)
UpsetTurkey67 I think that should work
I don't see such a method in the docs, but it seems so natural that decided to ask.
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 🙂
I am only getting one user for some reason, even though 4 are in the system
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?
task.data.user is the user id, can I get it in the text form?
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