src/pds_doi_service/core/outputs/doi_record.py
def create_doi_record(self, dois, content_type=CONTENT_TYPE_XML):
        """
        Creates a DOI record from the provided list of Doi objects in the
        specified format.

        Parameters
        ----------
        dois : Doi or list of Doi
            The Doi object(s) to format into the returned record.
        content_type : str
            The type of record to return.

        Returns
        -------
        record : str
            The text body of the record created from the provided Doi objects.

        """
        raise NotImplementedError(
            f"Subclasses of {self.__class__.__name__} must provide an " f"implementation for create_doi_record()"
        )

        Creates a DOI record from the provided list of Doi objects in the
        specified format.

        Parameters
        ----------
        dois : Doi or list of Doi
            The Doi object(s) to format into the returned record.
        content_type : str
            The type of record to return.

        Returns
        -------
        record : str
            The text body of the record created from the provided Doi objects.

        
Creates a DOI record from the provided list of Doi objects in the
specified format.

Parameters

dois : Doi or list of Doi
The Doi object(s) to format into the returned record.
content_type : str
The type of record to return.

Returns

record : str
The text body of the record created from the provided Doi objects.
Creates a DOI record from the provided list of Doi objects in the specified format . Parameters dois : Doi or list of Doi The Doi object ( s ) to format into the returned record . content_type : str The type of record to return . Returns record : str The text body of the record created from the provided Doi objects .
def create_doi_record(self, dois, content_type=CONTENT_TYPE_XML):
        raise NotImplementedError(
            f"Subclasses of {self.__class__.__name__} must provide an " f"implementation for create_doi_record()"
        )
def create_doi_record ( self , dois , content_type = CONTENT_TYPE_XML ) : raise NotImplementedError ( f"Subclasses of {self.__class__.__name__} must provide an " f"implementation for create_doi_record()" )
Creates a DOI record from the provided list of Doi objects in the
specified format.
Creates a DOI record from the provided list of Doi objects in the specified format .
"""
        Creates a DOI record from the provided list of Doi objects in the
        specified format.

        Parameters
        ----------
        dois : Doi or list of Doi
            The Doi object(s) to format into the returned record.
        content_type : str
            The type of record to return.

        Returns
        -------
        record : str
            The text body of the record created from the provided Doi objects.

        """
self
dois
content_type