aazim.mohammad Posted September 1, 2016 Report Share Posted September 1, 2016 Hi, Is it possible to use both old and new API together? for example: project = session.query('Project')[0] myLink = project['children'][0] myLink.getPredecessor() #is this possible?? If not, Please provide me with an alternative to get the predecessors with the new api. Thanks in advance Link to comment Share on other sites More sharing options...
Martin Pengelly-Phillips Posted September 1, 2016 Report Share Posted September 1, 2016 To some degree - check out the examples in the docs: http://ftrack-python-api.rtd.ftrack.com/en/stable/release/migrating_from_old_api.html#using-both-apis-side-by-side Link to comment Share on other sites More sharing options...
aazim.mohammad Posted September 8, 2016 Author Report Share Posted September 8, 2016 Hey, Thanks for replying. Is there any possibility to grab or add the predecessors and successors with new api, I mean only with the new API? It will be a big help. Thanks Link to comment Share on other sites More sharing options...
Mattias Lagergren Posted September 12, 2016 Report Share Posted September 12, 2016 On 9/8/2016 at 0:47 PM, aazim.mohammad said: Hey, Thanks for replying. Is there any possibility to grab or add the predecessors and successors with new api, I mean only with the new API? It will be a big help. Thanks As of now those are not available but our goal is to add support for them so that you can start using the new api for this as well. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.