コード例 #1
0
 def __init__(self, domainId, repositoryId):
     SaharaObject.__init__(self, [
         'repositoryGroupId', 'baseurl', 'set',
         'collection', 'metadataPrefix', 'use',
         'targetId', 'mappingId', 'action',
         'complete', 'maximumIgnore', 'continuous'], ['shopclosed'])
     self.domainId = domainId
     self.id = repositoryId
     self.mockUploader = None
     self.uploadfulltext = True
コード例 #2
0
ファイル: target.py プロジェクト: seecr/meresco-harvester
 def __init__(self, id):
     SaharaObject.__init__(self, ['baseurl', 'name', 'username', 'password',
                             'port', 'path', 'targetType', 'privateKey', 'command', 'hostname', 'oaiEnvelope'], ['delegate'])
     self.id = id
コード例 #3
0
 def __init__(self, mappingId):
     SaharaObject.__init__(self,['name', 'description', 'code'])
     Observable.__init__(self)
     self.id = mappingId