Unanswered
Hi! Had A Basic Question:
I Want To Retrieve All Tasks Created By A Clearml User Id (Using Task.Get_Tasks() And Filter).
Is It Possible To Get User Id Of The Current User Configured In The Clearml.Config Using Clearml Python Api?
Thanks In Advanced!
I think it is on the JWT token the session gets from the server
a bit of a hack but should work 🙂
session = task.session # or Task._get_default_session()
my_user_id = session.get_decoded_token(session.token)['identity']['user']
105 Views
0
Answers
9 months ago
9 months ago