Okay so, I managed to create an "Appointment" object of type "allocation"
session.create('Appointment', {
'context': ftrack_proj,
'resource': ftrack_user,
'type': 'allocation'
})
But it does not show up in when I try to list the user of the project ๐ค
for allocation in ftrack_proj['allocations']:
resource = allocation['resource']
if isinstance(resource, session.types['User']):
print(resource['username'])
And when I switch the project to private, the "allocations" attributes becomes None ๐คจ
I got to say the data model is a bit confusing here ๐
Any tips ? ๐