Docs for DAL.tables.__class__

[ Python Tutorial ] [ Python Libraries ] [ web2py epydoc ]

Description


<type 'type'> extends (<type 'object'>,)



























property(fget=None, fset=None, fdel=None, doc=None) -> property attribute

fget is a function to be used for getting an attribute value, and likewise
fset is a function for setting, and fdel a function for del'ing, an
attribute. Typical use is to define a managed attribute x:

class C(object):
def getx(self): return self._x
def setx(self, value): self._x = value
def delx(self): del self._x
x = property(getx, setx, delx, "I'm the 'x' property.")

Decorators make defining new properties or modifying existing ones easy:

class C(object):
@property
def x(self):
"I am the 'x' property."
return self._x
@x.setter
def x(self, value):
self._x = value
@x.deleter
def x(self):
del self._x


Attributes


DAL.tables.__class__.__class__ <type 'type'> extends (<type 'object'>,) belongs to class <type 'type'>
type(object) -> the object's type type(name, bases, dict) -> a new type

DAL.tables.__class__.__delattr__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__delattr__('name') <==> del x.name

DAL.tables.__class__.__delete__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
descr.__delete__(obj)

DAL.tables.__class__.__doc__ <type 'str'> belongs to class <type 'str'>
str(object='') -> string Return a nice string representation of the object. If the argument is a string, the return value is the same object.

DAL.tables.__class__.__format__ <type 'method_descriptor'> belongs to class <type 'method_descriptor'>
default object formatter

DAL.tables.__class__.__get__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
descr.__get__(obj[, type]) -> value

DAL.tables.__class__.__getattribute__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__getattribute__('name') <==> x.name

DAL.tables.__class__.__hash__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__hash__() <==> hash(x)

DAL.tables.__class__.__init__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__init__(...) initializes x; see help(type(x)) for signature

DAL.tables.__class__.__new__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
T.__new__(S, ...) -> a new object with type S, a subtype of T

DAL.tables.__class__.__reduce__ <type 'method_descriptor'> belongs to class <type 'method_descriptor'>
helper for pickle

DAL.tables.__class__.__reduce_ex__ <type 'method_descriptor'> belongs to class <type 'method_descriptor'>
helper for pickle

DAL.tables.__class__.__repr__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__repr__() <==> repr(x)

DAL.tables.__class__.__set__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
descr.__set__(obj, value)

DAL.tables.__class__.__setattr__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__setattr__('name', value) <==> x.name = value

DAL.tables.__class__.__sizeof__ <type 'method_descriptor'> belongs to class <type 'method_descriptor'>
__sizeof__() -> int size of object in memory, in bytes

DAL.tables.__class__.__str__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__str__() <==> str(x)

DAL.tables.__class__.__subclasshook__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
Abstract classes can override this to customize issubclass(). This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

DAL.tables.__class__.deleter <type 'method_descriptor'> belongs to class <type 'method_descriptor'>
Descriptor to change the deleter on a property.

DAL.tables.__class__.fdel <type 'member_descriptor'> belongs to class <type 'member_descriptor'>

DAL.tables.__class__.fget <type 'member_descriptor'> belongs to class <type 'member_descriptor'>

DAL.tables.__class__.fset <type 'member_descriptor'> belongs to class <type 'member_descriptor'>

DAL.tables.__class__.getter <type 'method_descriptor'> belongs to class <type 'method_descriptor'>
Descriptor to change the getter on a property.

DAL.tables.__class__.setter <type 'method_descriptor'> belongs to class <type 'method_descriptor'>
Descriptor to change the setter on a property.