conductor.houdini.hda.job module¶
Build an object to represent a Conductor job.
-
class
conductor.houdini.hda.job.
ChunkedJob
(node, parent_tokens, scene_file)¶ Bases:
conductor.houdini.hda.job.Job
ChunkedJob contains one task for each chunk of frames.
It also contains a set of token variables relating to the chunking strategy.
-
class
conductor.houdini.hda.job.
Job
(node, parent_tokens, scene_file)¶ Bases:
object
class Job holds all data for one Conductor job.
Jobs are contained by a Submission and a Job contains potentially many Tasks. Like a Submission, it also manages a list of environment tokens that the user can access as $ variables.
A regular Job is useful for simulations or other processes where it doesn’t make sense to split the job into time based chunks. A ChunkedJob is a subclass, of Job. A chunked job makes use of the frame range specification in the UI to calculate how to manufacture a Task for each chunk. A factory method is used to figure out if the job should be a Job or a ChunkedJob.
-
static
create
(node, tokens, scene)¶ Factory makes a Job or ChunkedJob.
ChunkedJob makes a task per chunk. Job makes one task representing the whole time range.
-
dependencies
¶
-
environment
¶
-
get_args
()¶ Prepare the args for submission to conductor.
This dict represents the args that are specific to this job. It will be joined with the submission level args like notifications, and project, before submitting to Conductor.
-
metadata
¶
-
node_name
¶
-
output_directory
¶
-
package_ids
¶
-
source_path
¶
-
source_type
¶
-
tasks
¶
-
title
¶
-
tokens
¶
-
static