cwltool.factory

Module Contents

Classes

Callable

Result of Factory.make().

Factory

Easy way to load a CWL document for execution.

exception cwltool.factory.WorkflowStatus(out, status)

Bases: Exception

Inheritance diagram of cwltool.factory.WorkflowStatus

Common base class for all non-exit exceptions.

Parameters
  • out (Optional[cwltool.utils.CWLObjectType]) –

  • status (str) –

class cwltool.factory.Callable(t, factory)

Result of Factory.make().

Parameters
__call__(self, **kwargs)
Parameters

self (Any) –

Return type

Union[str, Optional[cwltool.utils.CWLObjectType]]

class cwltool.factory.Factory(executor=None, loading_context=None, runtime_context=None)

Easy way to load a CWL document for execution.

Parameters
loading_context :cwltool.context.LoadingContext
runtime_context :cwltool.context.RuntimeContext
make(self, cwl)

Instantiate a CWL object from a CWl document.

Parameters

cwl (Union[str, Dict[str, Any]]) –

Return type

Callable