:py:mod:`cwltool.factory`
=========================

.. py:module:: cwltool.factory


Module Contents
---------------

Classes
~~~~~~~

.. autoapisummary::

   cwltool.factory.Callable
   cwltool.factory.Factory




.. py:exception:: WorkflowStatus(out, status)


   Bases: :py:obj:`Exception`

   .. autoapi-inheritance-diagram:: cwltool.factory.WorkflowStatus
      :parts: 1

   Common base class for all non-exit exceptions.


.. py:class:: Callable(t, factory)


   Result of ::py:func:`Factory.make`.

   .. py:method:: __call__(**kwargs)



.. py:class:: Factory(executor = None, loading_context = None, runtime_context = None)


   Easy way to load a CWL document for execution.

   .. py:attribute:: loading_context
      :type: cwltool.context.LoadingContext

      

   .. py:attribute:: runtime_context
      :type: cwltool.context.RuntimeContext

      

   .. py:method:: make(cwl)

      Instantiate a CWL object from a CWl document.



