src/pds_doi_service/core/outputs/doi_validator.py
def validate_update_request(self, doi: Doi):
        """
        Perform the suite of validation checks applicable to an update request
        on the provided Doi object.

        Parameters
        ----------
        doi : Doi
            The parsed Doi object to validate.

        """
        # For update requests, need to check if there are any other DOI records
        # using the same PDS identifier
        self._check_for_preexisting_doi(doi)

        self._check_node_id(doi)
        self._check_identifier_fields(doi)
        self._check_lidvid_field(doi)
        self._check_field_title_duplicate(doi)
        self._check_field_title_content(doi)

        # Also need to check if we're moving backwards through the workflow,
        # i.e. updating an already released record.
        self._check_field_workflow(doi)

        Perform the suite of validation checks applicable to an update request
        on the provided Doi object.

        Parameters
        ----------
        doi : Doi
            The parsed Doi object to validate.

        
Perform the suite of validation checks applicable to an update request
on the provided Doi object.

Parameters

doi : Doi
The parsed Doi object to validate.
Perform the suite of validation checks applicable to an update request on the provided Doi object . Parameters doi : Doi The parsed Doi object to validate .
def validate_update_request(self, doi: Doi):
        self._check_for_preexisting_doi(doi)
        self._check_node_id(doi)
        self._check_identifier_fields(doi)
        self._check_lidvid_field(doi)
        self._check_field_title_duplicate(doi)
        self._check_field_title_content(doi)
        self._check_field_workflow(doi)
def validate_update_request ( self , doi : Doi ) : self . _check_for_preexisting_doi ( doi ) self . _check_node_id ( doi ) self . _check_identifier_fields ( doi ) self . _check_lidvid_field ( doi ) self . _check_field_title_duplicate ( doi ) self . _check_field_title_content ( doi ) self . _check_field_workflow ( doi )
Perform the suite of validation checks applicable to an update request
on the provided Doi object.
Perform the suite of validation checks applicable to an update request on the provided Doi object .
"""
        Perform the suite of validation checks applicable to an update request
        on the provided Doi object.

        Parameters
        ----------
        doi : Doi
            The parsed Doi object to validate.

        """ # For update requests, need to check if there are any other DOI records # using the same PDS identifier # Also need to check if we're moving backwards through the workflow, # i.e. updating an already released record.
self
doi
Doi