Package gavo :: Package registry :: Module common
[frames] | no frames]

Module common

source code

Common code and definitions for registry support.

Classes
  OAIError
is one of the standard OAI errors.
  BadArgument
  BadResumptionToken
  BadVerb
  CannotDisseminateFormat
  IdDoesNotExist
  NoMetadataFormats
  NoSetHierarchy
  NoRecordsMatch
  DateUpdatedMixin
A mixin providing computers for dateUpdated and datetimeUpdated.
Functions
 
getServicesRD() source code
 
getRegistryService() source code
 
getResType(resob) source code
 
getDependencies(rdId, connection=None)
returns a list of RD ids that are need for the generation of RRs from rdId.
source code
Variables
  SERVICELIST_ID = '__system__/services'
  METADATA_PREFIXES = [('oai_dc', 'http://vo.ari.uni-heidelberg....
Variables Details

METADATA_PREFIXES

Value:
[('oai_dc',
  'http://vo.ari.uni-heidelberg.de/docs/schemata/OAI-PMH.xsd',
  'http://www.openarchives.org/OAI/2.0/oai_dc/'),
 ('ivo_vor',
  'http://vo.ari.uni-heidelberg.de/docs/schemata/VOResource-v1.0.xsd',
  'http://www.ivoa.net/xml/RegistryInterface/v1.0')]