Hi,
Is there a way to create a context with user data?
I tried tk.context_from_entity_dictionary, but it returns a context without the user dictionnary:
data = {"type": "Task", "id": source_context.task.get('id'),
"project": source_context.project,
"entity": source_context.entity,
"user": scene_context.user,
}
tk.context_from_entity_dictionary(data)
<Sgtk Context: Project: {'type': 'Project', 'id': 653, 'name': 'Test'}
Entity: {'type': 'Shot', 'id': 3286, 'name': 'ep999_sh0010'}
Step: {'type': 'Step', 'id': 176, 'name': 'Shot Tasks'}
Task: {'type': 'Task', 'id': 17754, 'name': 'camera'}
User: None
SG URL: https://*****.shotgunstudio.com/detail/Task/17754
Additional Entities: []
Source Entity: None> #
Thanks