Object inherits from [PStorBaseObject], and is the parent class of [Methods].
This class contains the following methods:
__init__
__setattr__
__delattr__
getcontents
getattributes
getncontents
getnrcontents
hasattr
__getattribute__
__str__
__repr__
keys
get__key__
update_handler
Method
The Object class appends the above list of methods names to __reserved__
from [PStorBaseObject] with the exception of keys
, get__key__
, and update_handler
.
name
to value
.attr
.__key__
of each attribute.attr
attr
. It first looks for the attribute in the database, then it looks for the attribute in the Object's Class (which is still on the database). If the attribute is not in either of those it looks for the attribute in the python object itself.Object(%s)
" where %s
is repr(self.__key__)
__str__
.__key__
.name
is the attribute that was modified.
Wiki: Classes
Wiki: Conventions
Wiki: Dicts, Lists, and Objects Basics
Wiki: Getting Started Explanation
Wiki: Links
Wiki: Methods
Wiki: PStorBaseObject
Wiki: Table of Contents
Wiki: Usable Python Types