Package amplee :: Package storage :: Class StorageResourceInfo
[hide private]
[frames] | no frames]

Class StorageResourceInfo

source code

object --+
         |
        StorageResourceInfo

Instance Methods [hide private]
 
__init__(self, name=None, key=None, collection_name=None)
Wraps in a neutral object any storage implementation mechanism to identify and access a resource.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, name=None, key=None, collection_name=None)
(Constructor)

source code 
Wraps in a neutral object any storage implementation mechanism to identify and access a resource.
Parameters:
  • name (string or unicode) - name of the resource.
  • key (object) - per-storage class object used to identify and access the resource in that storage.
  • collection_name (string or unicode) - name of the collection to which the resource belongs
Overrides: object.__init__