cwltool.factory
===============

.. py:module:: cwltool.factory


Exceptions
----------

.. autoapisummary::

   cwltool.factory.WorkflowStatus


Classes
-------

.. autoapisummary::

   cwltool.factory.Callable
   cwltool.factory.Factory


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

.. 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:attribute:: out


   .. py:attribute:: status


   .. py:method:: __str__()

      Return str(self).



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

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


   .. py:attribute:: t


   .. py:attribute:: factory


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

      Invoke the tool.



.. 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:attribute:: executor
      :value: None



   .. py:method:: make(cwl)

      Instantiate a CWL object from a CWl document.



