cwltool.load_tool
=================

.. py:module:: cwltool.load_tool

.. autoapi-nested-parse::

   Loads a CWL document.



Attributes
----------

.. autoapisummary::

   cwltool.load_tool.docloaderctx
   cwltool.load_tool.jobloader_id_name
   cwltool.load_tool.jobloaderctx
   cwltool.load_tool.overrides_ctx


Functions
---------

.. autoapisummary::

   cwltool.load_tool.default_loader
   cwltool.load_tool.resolve_tool_uri
   cwltool.load_tool.fetch_document
   cwltool.load_tool.update_index
   cwltool.load_tool.fast_parser
   cwltool.load_tool.resolve_and_validate_document
   cwltool.load_tool.make_tool
   cwltool.load_tool.load_tool
   cwltool.load_tool.resolve_overrides
   cwltool.load_tool.load_overrides
   cwltool.load_tool.recursive_resolve_and_validate_document


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

.. py:data:: docloaderctx
   :type:  schema_salad.utils.ContextType

.. py:data:: jobloader_id_name
   :value: '__id'


.. py:data:: jobloaderctx
   :type:  schema_salad.utils.ContextType

.. py:data:: overrides_ctx
   :type:  schema_salad.utils.ContextType

.. py:function:: default_loader(fetcher_constructor = None, enable_dev = False, doc_cache = True)

.. py:function:: resolve_tool_uri(argsworkflow, resolver = None, fetcher_constructor = None, document_loader = None)

.. py:function:: fetch_document(argsworkflow, loadingContext = None)

   Retrieve a CWL document.


.. py:function:: update_index(document_loader, pr)

.. py:function:: fast_parser(workflowobj, fileuri, uri, loadingContext, fetcher)

.. py:function:: resolve_and_validate_document(loadingContext, workflowobj, uri, preprocess_only = False)

   Validate a CWL document.


.. py:function:: make_tool(uri, loadingContext)

   Make a Python CWL object.


.. py:function:: load_tool(argsworkflow, loadingContext = None)

.. py:function:: resolve_overrides(ov, ov_uri, baseurl)

.. py:function:: load_overrides(ov, base_url)

   Load and resolve any overrides.


.. py:function:: recursive_resolve_and_validate_document(loadingContext, workflowobj, uri, preprocess_only = False)

   Validate a CWL document, checking that a tool object can be built.


