1

Linked fields through a multi-entity

Howdy!

I'm trying to get the email of my HumanUser[s] which are assigned to a given Task, but the usual linking syntax does not seems to do anything:

>>> sg.find('Task', [('id', 'is', 44573)], ['task_assignees', 'task_assignees.HumanUser.email'])
[{'task_assignees': [{'type': 'HumanUser', 'name': 'Mike Boers', 'id': 108}], 'type': 'Task', 'id': 44573}]

Since this is through a multi-entity, I'm at a loss as to what I would expect the return value to look like anyways, so is this something that is simply impossible in the current version?

Thanks!

0 条评论

请先登录再写评论。