src/pds_doi_service/core/actions/list.py
def parse_criteria(self, kwargs):
        """
        Parse the command-line criteria into a dictionary format suitable
        for use to query the the local transaction database.

        Note that this method takes the place of DOICoreAction.parse_arguments.

        Parameters
        ----------
        kwargs : dict
            The command-line arguments as parsed by argparse.

        Returns
        -------
        query_criteria : dict
            Dictionary mapping each criteria type to the list of values to
            filter by.

        """
        super(DOICoreActionList, self).parse_arguments(kwargs)

        query_criteria = {}

        if self._doi:
            query_criteria["doi"] = self._doi.split(",")

        if self._ids:
            query_criteria["ids"] = self._ids.split(",")

        if self._submitter:
            query_criteria["submitter"] = self._submitter.split(",")

        if self._node:
            query_criteria["node"] = self._node.strip().split(",")

        if self._status:
            query_criteria["status"] = self._status.strip().split(",")

        if self._start_update:
            query_criteria["start_update"] = isoparse(self._start_update)

        if self._end_update:
            query_criteria["end_update"] = isoparse(self._end_update)

        return query_criteria

        Parse the command-line criteria into a dictionary format suitable
        for use to query the the local transaction database.

        Note that this method takes the place of DOICoreAction.parse_arguments.

        Parameters
        ----------
        kwargs : dict
            The command-line arguments as parsed by argparse.

        Returns
        -------
        query_criteria : dict
            Dictionary mapping each criteria type to the list of values to
            filter by.

        
Parse the command-line criteria into a dictionary format suitable
for use to query the the local transaction database.

Note that this method takes the place of DOICoreAction.parse_arguments.

Parameters

kwargs : dict
The command-line arguments as parsed by argparse.

Returns

query_criteria : dict
Dictionary mapping each criteria type to the list of values to
filter by.
Parse the command - line criteria into a dictionary format suitable for use to query the the local transaction database . Note that this method takes the place of DOICoreAction . parse_arguments . Parameters kwargs : dict The command - line arguments as parsed by argparse . Returns query_criteria : dict Dictionary mapping each criteria type to the list of values to filter by .
def parse_criteria(self, kwargs):
        super(DOICoreActionList, self).parse_arguments(kwargs)
        query_criteria = {}
        if self._doi:
            query_criteria["doi"] = self._doi.split(",")
        if self._ids:
            query_criteria["ids"] = self._ids.split(",")
        if self._submitter:
            query_criteria["submitter"] = self._submitter.split(",")
        if self._node:
            query_criteria["node"] = self._node.strip().split(",")
        if self._status:
            query_criteria["status"] = self._status.strip().split(",")
        if self._start_update:
            query_criteria["start_update"] = isoparse(self._start_update)
        if self._end_update:
            query_criteria["end_update"] = isoparse(self._end_update)
        return query_criteria
def parse_criteria ( self , kwargs ) : super ( DOICoreActionList , self ) . parse_arguments ( kwargs ) query_criteria = { } if self . _doi : query_criteria [ "doi" ] = self . _doi . split ( "," ) if self . _ids : query_criteria [ "ids" ] = self . _ids . split ( "," ) if self . _submitter : query_criteria [ "submitter" ] = self . _submitter . split ( "," ) if self . _node : query_criteria [ "node" ] = self . _node . strip ( ) . split ( "," ) if self . _status : query_criteria [ "status" ] = self . _status . strip ( ) . split ( "," ) if self . _start_update : query_criteria [ "start_update" ] = isoparse ( self . _start_update ) if self . _end_update : query_criteria [ "end_update" ] = isoparse ( self . _end_update ) return query_criteria
Parse the command-line criteria into a dictionary format suitable
for use to query the the local transaction database.
Parse the command - line criteria into a dictionary format suitable for use to query the the local transaction database .
"""
        Parse the command-line criteria into a dictionary format suitable
        for use to query the the local transaction database.

        Note that this method takes the place of DOICoreAction.parse_arguments.

        Parameters
        ----------
        kwargs : dict
            The command-line arguments as parsed by argparse.

        Returns
        -------
        query_criteria : dict
            Dictionary mapping each criteria type to the list of values to
            filter by.

        """
self
kwargs