prequery ftrack locations

This commit is contained in:
iLLiCiTiT 2021-11-18 18:01:41 +01:00
parent aa867ac64a
commit 677dbffcdb

View file

@ -111,6 +111,14 @@ class IntegrateFtrackInstance(pyblish.api.InstancePlugin):
else:
other_representations.append(repre)
# Prepare ftrack locations
unmanaged_location = ft_session.query(
"Location where name is \"ftrack.unmanaged\""
).one()
ftrack_server_location = ft_session.query(
"Location where name is \"ftrack.server\""
).one()
for comp in instance.data['representations']:
self.log.debug('component {}'.format(comp))