Module nukeBackEnd :: Class NukeBackEnd
[hide private]
[frames] | no frames]

Class NukeBackEnd

source code


A backend for a jobtype that runs an instance of Nuke in a child process.

This will allow for the Nuke session to persist for the duration of the subjob.

Instance Methods [hide private]
tuple ([childArgs], [pyInitCmds])
getSubprocessArgs(self, port)
Get the arguments to start the child python process.
source code

Inherited from qb.backend.pythonChildBackEnd.PythonChildBackEnd: __init__, executeWork, generateChildBootstrapper, initPyCmdDispatcher, jobSetup, jobTeardown

Inherited from qb.backend.pythonBackEnd.PythonQubeBackEnd: getLogData, hasJobPhaseCmds, logHandler, parseLogData, printClassInfo, updateResultPackage, validateOutputFileSize

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from qb.backend.pythonChildBackEnd.PythonChildBackEnd: DEFAULT_PYTHON

Inherited from qb.backend.pythonBackEnd.PythonQubeBackEnd: LOGREAD_TIME_THRESHOLD, QB_WAITING_TIMEOUT

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

getSubprocessArgs(self, port)

source code 

Get the arguments to start the child python process.

Parameters:
  • port (int) - the port on which the PyCmdDispatcher's backchannel instance is listening, usually passed as a parameter to the child_bootstrapper.py script which starts up the pyCmdExecutor inside child process started by the PyCmdDispatcher
Returns: tuple ([childArgs], [pyInitCmds])
Return a tuple of a list of args to start the python interpreter, and a list of python commands to initialize the python working environment.
Raises:
  • NotImplementedError - Raised when this method is not overridden in a derived class.
Overrides: qb.backend.pythonChildBackEnd.PythonChildBackEnd.getSubprocessArgs