gavo.registry.common module

Common code and definitions for registry support.

exception gavo.registry.common.BadArgument(msg: str = '', hint: Optional[str] = None)[source]

Bases: OAIError

exception gavo.registry.common.BadResumptionToken(msg: str = '', hint: Optional[str] = None)[source]

Bases: OAIError

exception gavo.registry.common.BadVerb(msg: str = '', hint: Optional[str] = None)[source]

Bases: OAIError

exception gavo.registry.common.CannotDisseminateFormat(msg: str = '', hint: Optional[str] = None)[source]

Bases: OAIError

exception gavo.registry.common.IdDoesNotExist(msg: str = '', hint: Optional[str] = None)[source]

Bases: OAIError

exception gavo.registry.common.NoMetadataFormats(msg: str = '', hint: Optional[str] = None)[source]

Bases: OAIError

exception gavo.registry.common.NoRecordsMatch(msg: str = '', hint: Optional[str] = None)[source]

Bases: OAIError

exception gavo.registry.common.NoSetHierarchy(msg: str = '', hint: Optional[str] = None)[source]

Bases: OAIError

exception gavo.registry.common.OAIError(msg: str = '', hint: Optional[str] = None)[source]

Bases: Error

is one of the standard OAI errors.

gavo.registry.common.getDependencies(rdId, connection=None)[source]

returns a list of RD ids that are need for the generation of RRs from rdId.

gavo.registry.common.getResType(resob)[source]
gavo.registry.common.getServicesRD()[source]