Jump to content

alexisp

Members
  • Posts

    7
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

alexisp's Achievements

  1. That is a most helpful clarification, it all makes sense. Thanks a lot !
  2. Ah yes, I see ! It took a bit of playing around to manage that (as you cant grant access to a project that is not private yet). I will retry and let you know, but this means the "team" behavior is completely different between "open" and "private" mode ? Also I don't really get the difference between "project access" and "organize team". I dont get why do I have people in the team that dont appear in the access list ๐Ÿค” Thx, Alexis
  3. Hi, when typing "Project where" you are using the syntax to go look for projects of the "Project" table. What you actually want to filter is the "project" attribute of the Shots: my_shot = session.query('Shot where name is "my_shot" and project.name is "the_project"').first() # while we are at it the "like" syntax can be useful here to get all shots that starts with a given prefix # (but you should probably use a proper Folder/Sequence to organise your shots) # for exemple let's say shots from the SequenceA of my project are prefixed with "sqa" sqa_shots = session.query('Shot where name like "sqa%" and project.name is "the_project"')
  4. 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 ? ๐Ÿ™ƒ
  5. Hi, I'm trying to push users and user assignments from our internal system to ftrack. I'm probably missing something. Based on how it works for assigning users on tasks I'm tempted to do something like this, but obviously this is not it ๐Ÿ˜… session.create('Membership', { 'context': ftrack_project, 'resource': ftrack_user, 'type': 'membership' }) Any pointers ? Cheers, Alexis
  6. This is exactly what I needed ! I could not have come up with this by myself ๐Ÿค“ ! Thx @Lorenzo Angeli !
  7. Hi all, I'm trying to get my hands on the "shareable url" of a review session but cannot find any way to get it programatically. I know I can call send_review_session_invite to fire an email, but what I'm after is being able to send the invite to a specific channel/user in our messaging app (slack/rocket chat, mattermost etc...) and to do that I need the right url ! Is there some kind of hidden way to get/generate such url ? Or is limited to web interface ? Thx, Alexis
×
×
  • Create New...