i am just wondering if there is any possibility to override those context templates by the new api using hook located on a FTRACK_CONNECT_PLUGIN_PATH instead of rewriting your default context templates delivered in connect package. I just tried something like this but it doesn't work so far. Thank you !
'''Return context templates for Nuke Studio.'''
# Define tag regular expressions.
'name': 'Sample Shot',
'Match name before and after dash. '
'Example: ch01_dragon_0010 will be matched as sequence with name '
'ch01 and a shot named ch01_dragon_0010.'
def register(session, **kw):
# Validate that session is an instance of ftrack_api.Session. If not,
# assume that register is being called from an incompatible API
# and return without doing anything.
if not isinstance(session, ftrack_api.Session):
# Exit to avoid registering this plugin again.