:py:mod:`wfexs_backend.fetchers.drs`
====================================

.. py:module:: wfexs_backend.fetchers.drs

.. autodoc2-docstring:: wfexs_backend.fetchers.drs
   :allowtitles:

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

Functions
~~~~~~~~~

.. list-table::
   :class: autosummary longtable
   :align: left

   * - :py:obj:`query_n2t <wfexs_backend.fetchers.drs.query_n2t>`
     - .. autodoc2-docstring:: wfexs_backend.fetchers.drs.query_n2t
          :summary:
   * - :py:obj:`downloadContentFromDRS <wfexs_backend.fetchers.drs.downloadContentFromDRS>`
     - .. autodoc2-docstring:: wfexs_backend.fetchers.drs.downloadContentFromDRS
          :summary:

Data
~~~~

.. list-table::
   :class: autosummary longtable
   :align: left

   * - :py:obj:`DRS_SCHEME <wfexs_backend.fetchers.drs.DRS_SCHEME>`
     - .. autodoc2-docstring:: wfexs_backend.fetchers.drs.DRS_SCHEME
          :summary:
   * - :py:obj:`N2T_NET_SERVICE <wfexs_backend.fetchers.drs.N2T_NET_SERVICE>`
     - .. autodoc2-docstring:: wfexs_backend.fetchers.drs.N2T_NET_SERVICE
          :summary:

API
~~~

.. py:data:: DRS_SCHEME
   :canonical: wfexs_backend.fetchers.drs.DRS_SCHEME
   :value: 'drs'

   .. autodoc2-docstring:: wfexs_backend.fetchers.drs.DRS_SCHEME

.. py:data:: N2T_NET_SERVICE
   :canonical: wfexs_backend.fetchers.drs.N2T_NET_SERVICE
   :value: 'https://n2t.net/'

   .. autodoc2-docstring:: wfexs_backend.fetchers.drs.N2T_NET_SERVICE

.. py:function:: query_n2t(scheme: str, the_id: str, remote_file: wfexs_backend.common.URIType, metadata_array: MutableSequence[URIWithMetadata] = []) -> Tuple[URIType, MutableSequence[URIWithMetadata]]
   :canonical: wfexs_backend.fetchers.drs.query_n2t

   .. autodoc2-docstring:: wfexs_backend.fetchers.drs.query_n2t

.. py:function:: downloadContentFromDRS(remote_file: wfexs_backend.common.URIType, cachedFilename: wfexs_backend.common.PathLikePath, secContext: Optional[SecurityContextConfig] = None) -> wfexs_backend.fetchers.ProtocolFetcherReturn
   :canonical: wfexs_backend.fetchers.drs.downloadContentFromDRS

   .. autodoc2-docstring:: wfexs_backend.fetchers.drs.downloadContentFromDRS
