cwltool.resolver
================

.. py:module:: cwltool.resolver

.. autoapi-nested-parse::

   Resolves references to CWL documents from local or remote places.



Attributes
----------

.. autoapisummary::

   cwltool.resolver.ga4gh_tool_registries
   cwltool.resolver.GA4GH_TRS_FILES
   cwltool.resolver.GA4GH_TRS_PRIMARY_DESCRIPTOR


Functions
---------

.. autoapisummary::

   cwltool.resolver.resolve_local
   cwltool.resolver.tool_resolver
   cwltool.resolver.resolve_ga4gh_tool


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

.. py:function:: resolve_local(document_loader, uri)

   Use the local resolver to find the target of the URI.


.. py:function:: tool_resolver(document_loader, uri)

   Try both the local resolver and the GA4GH TRS resolver, in that order.


.. py:data:: ga4gh_tool_registries
   :value: ['https://dockstore.org/api']


.. py:data:: GA4GH_TRS_FILES
   :value: '{0}/api/ga4gh/v2/tools/{1}/versions/{2}/CWL/files'


.. py:data:: GA4GH_TRS_PRIMARY_DESCRIPTOR
   :value: '{0}/api/ga4gh/v2/tools/{1}/versions/{2}/plain-CWL/descriptor/{3}'


.. py:function:: resolve_ga4gh_tool(document_loader, uri)

   Use the GA4GH TRS API to resolve a tool reference.


