Package conduit :: Package datatypes :: Class Rid
[hide private]

Class Rid

source code


Instance Methods [hide private]
 
__init__(self, uid=None, mtime=None, hash="")
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__eq__(self, other) source code
 
__ne__(self, other) source code
 
__hash__(self)
hash(x)
source code
 
__str__(self)
str(x)
source code
 
get_UID(self) source code
 
get_mtime(self) source code
 
get_hash(self) source code
 
__getstate__(self)
Store the Rid state in a dict for pickling
source code
 
__setstate__(self, data)
Restore Rid state from dict (after unpickling)
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, uid=None, mtime=None, hash="")
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Parameters:
  • uid - str or None
  • mtime - datetime or None
  • hash - str
Overrides: object.__init__

__hash__(self)
(Hashing function)

source code 
hash(x)
Overrides: object.__hash__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 
str(x)
Overrides: object.__str__
(inherited documentation)