Package archipelcore :: Module archipelPermissionCenter :: Class TNArchipelUser
[hide private]
[frames] | no frames]

Class TNArchipelUser

source code

object --+    
         |    
      Base --+
             |
            TNArchipelUser

Instance Methods [hide private]
 
__init__(self, name)
A simple constructor that allows initialization from kwargs.
source code
 
__repr__(self)
repr(x)
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  __tablename__ = 'users'
  name = Column(String, primary_key= True)
  permissions = relationship('TNArchipelPermission', secondary= ...
  __mapper__ = <Mapper at 0x2d14e50; TNArchipelUser>
  __table__ = Table('users', MetaData(None), Column('name', Stri...
  _sa_class_manager = <ClassManager of <class 'archipelcore.arch...

Inherited from Base: metadata

Inherited from Base (private): _decl_class_registry

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, name)
(Constructor)

source code 

A simple constructor that allows initialization from kwargs.

Sets attributes on the constructed instance using the names and values in ``kwargs``.

Only keys that are present as attributes of the instance's class are allowed. These could be, for example, any mapped columns or relationships.

Overrides: object.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

Class Variable Details [hide private]

permissions

Value:
relationship('TNArchipelPermission', secondary= users_have_permissions\
, backref= backref('users', lazy= 'dynamic'))

__table__

Value:
Table('users', MetaData(None), Column('name', String(length=None, conv\
ert_unicode=False, assert_unicode=None, unicode_error=None, _warn_on_b\
ytestring=False), table=<users>, primary_key=True, nullable=False), sc\
hema=None)

_sa_class_manager

Value:
<ClassManager of <class 'archipelcore.archipelPermissionCenter.TNArchi\
pelUser'> at 2d685f0>