def __init__(self, session, parent, path="",
              maxBuckets=0, maxItemsPerBucket=0, bucketType=''):
     SwitchingBdbConnection.__init__(self, session, parent, path,
                                     maxBuckets, maxItemsPerBucket,
                                     bucketType)
     if parent.coll is None:
         parent._openIrods(session)
     self.irodsObjects = parent.coll.getObjects()
     self.cxnFiles = {}
Beispiel #2
0
 def __init__(self, session, parent, path="",
              maxBuckets=0, maxItemsPerBucket=0, bucketType=''):
     SwitchingBdbConnection.__init__(self, session, parent, path,
                                     maxBuckets, maxItemsPerBucket,
                                     bucketType)
     if irods is None:
         raise MissingDependencyException(self.objectType,
                                          'irods (PyRods)'
                                          )
     if parent.coll is None:
         parent._openIrods(session)
     self.irodsObjects = parent.coll.getObjects()
     self.cxnFiles = {}
 def __init__(self, session, parent, path="", maxBuckets=0, maxItemsPerBucket=0, bucketType=''):
     SwitchingBdbConnection.__init__(self, session, parent, path, maxBuckets, maxItemsPerBucket, bucketType)
     if parent.coll == None:
         parent._openIrods(session)
     self.irodsObjects = parent.coll.getObjects()
     self.cxnFiles = {}
 def __init__(self, session, parent, path="",
              maxBuckets=0, maxItemsPerBucket=0, bucketType=''):
     SwitchingBdbConnection.__init__(self, session, parent, path,
                                     maxBuckets, maxItemsPerBucket,
                                     bucketType)
     raise MissingDependencyException(self.objectType, 'irods (PyRods)')