def __init__(self, wf_spec, name, args=None, **kwargs):
assert wf_spec is not None<EOL>assert name is not None<EOL>TaskSpec.__init__(self, wf_spec, name, **kwargs)<EOL>self.args = args<EOL>
Constructor.

:type  wf_spec: WorkflowSpec
:param wf_spec: A reference to the workflow specification.
:type  name: str
:param name: The name of the task spec.
:type  args: list
:param args: args to pass to process (first arg is the command).
:type  kwargs: dict
:param kwargs: kwargs to pass-through to TaskSpec initializer.