Hi,
I've tried to follow the example in the api docs on how to add attachments to jobs. However, I'm receiving a weird error. My code:
job = session.create('Job', {
'user': user,
'status': 'running',
'data': dumps({'description': 'test job'})
})
server_location = session.query('Location where name is "ftrack.server"').one()
component = session.create_component(
logfile,
data={'name': 'My Fil
Hi,
I've tried to follow the example in the api docs on how to add attachments to jobs. However, I'm receiving a weird error. My code:
job = session.create('Job', {
'user': user,
'status': 'running',
'data': dumps({'description': 'test job'})
})
server_location = session.query('Location where name is "ftrack.server"').one()
component = session.create_component(
logfile,
data={'name': 'My Fil