src/pds_doi_service/core/outputs/service.py
def _check_service_type(service_type):
        """
        Checks if the provided service type is among the expected values.

        Parameters
        ----------
        service_type : str
            Service type to check. Is automatically converted to lowercase
            to provide a case-insensitive check.

        Raises
        ------
        ValueError
            If the service type is not among the valid types recognized by this
            class (or if no type is specified by the INI config at all).

        """
        if service_type.lower() not in VALID_SERVICE_TYPES:
            raise ValueError(
                f'Unsupported service type "{service_type}" provided.\n'
                f"Service type should be assigned to the SERVICE.provider field of "
                f"the INI config with one of the following values: {VALID_SERVICE_TYPES}"
            )

        Checks if the provided service type is among the expected values.

        Parameters
        ----------
        service_type : str
            Service type to check. Is automatically converted to lowercase
            to provide a case-insensitive check.

        Raises
        ------
        ValueError
            If the service type is not among the valid types recognized by this
            class (or if no type is specified by the INI config at all).

        
Checks if the provided service type is among the expected values.
Parameters

service_type : str
Service type to check. Is automatically converted to lowercase
to provide a case-insensitive check.

Raises

ValueError
If the service type is not among the valid types recognized by this
class (or if no type is specified by the INI config at all).
Checks if the provided service type is among the expected values . Parameters service_type : str Service type to check . Is automatically converted to lowercase to provide a case - insensitive check . Raises ValueError If the service type is not among the valid types recognized by this class ( or if no type is specified by the INI config at all ) .
def _check_service_type(service_type):
        if service_type.lower() not in VALID_SERVICE_TYPES:
            raise ValueError(
                f'Unsupported service type "{service_type}" provided.\n'
                f"Service type should be assigned to the SERVICE.provider field of "
                f"the INI config with one of the following values: {VALID_SERVICE_TYPES}"
            )
def _check_service_type ( service_type ) : if service_type . lower ( ) not in VALID_SERVICE_TYPES : raise ValueError ( f'Unsupported service type "{service_type}" provided.\n' f"Service type should be assigned to the SERVICE.provider field of " f"the INI config with one of the following values: {VALID_SERVICE_TYPES}" )
Checks if the provided service type is among the expected values.
Checks if the provided service type is among the expected values .
"""
        Checks if the provided service type is among the expected values.

        Parameters
        ----------
        service_type : str
            Service type to check. Is automatically converted to lowercase
            to provide a case-insensitive check.

        Raises
        ------
        ValueError
            If the service type is not among the valid types recognized by this
            class (or if no type is specified by the INI config at all).

        """
service_type