Jump to content

Update Types of Asset Build/Milestone in schema through ftrack-python-api


Remus Avram

Recommended Posts

Hi all,

How can I update the Types of Asset Build and Milestone in schema using the ftrack-python-api?

For example I can update the Types for Task in schema using the ftrack-python-api:

session = ftrack_api.Session()
schema = session.query("ProjectSchema where name is '%s'" % (name))
schema['_task_type_schema']['types'].append(task_type)
session.commit()

Cheers!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...