Package posterity :: Module model :: Class Account

Class Account



          object --+    
                   |    
elixir.entity.Entity --+
                       |
                      Account

Nested Classes

Inherited from elixir.entity.Entity: __metaclass__

Instance Methods
 
set_password(self, password)
 
__repr__(self)
repr(x)
 
__init__(self, *args, **kwargs)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
delete(self, *args, **kwargs)
 
expire(self, *args, **kwargs)
 
expunge(self, *args, **kwargs)
 
flush(self, *args, **kwargs)
 
merge(self, *args, **kwargs)
 
refresh(self, *args, **kwargs)
 
save(self, *args, **kwargs)
 
save_or_update(self, *args, **kwargs)
 
update(self, *args, **kwargs)

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

Class Methods
 
count(self, *args, **kwargs)
 
count_by(self, *args, **kwargs)
 
filter(self, *args, **kwargs)
 
filter_by(self, *args, **kwargs)
 
get(self, *args, **kwargs)
 
get_by(self, *args, **kwargs)
 
instances(self, *args, **kwargs)
 
join_to(self, *args, **kwargs)
 
join_via(self, *args, **kwargs)
 
options(self, *args, **kwargs)
 
query(cls)
 
select(self, *args, **kwargs)
 
select_by(self, *args, **kwargs)
 
selectfirst(self, *args, **kwargs)
 
selectfirst_by(self, *args, **kwargs)
 
selectone(self, *args, **kwargs)
 
selectone_by(self, *args, **kwargs)
Static Methods
 
create(username)
Creates a new account and the required tags
Class Variables
  __elixir_statements__ = [(<elixir.statements.Statement object ...
  c = <sqlalchemy.orm.mapper.LOrderedProp object at 0x216e150>
  filters = <sqlalchemy.orm.unitofwork.UOWProperty object at 0x2...
  id = <sqlalchemy.orm.unitofwork.UOWProperty object at 0x218ff10>
  identities = <sqlalchemy.orm.unitofwork.UOWProperty object at ...
  mapper = <sqlalchemy.orm.mapper.Mapper object at 0x216e110>
  password = <sqlalchemy.orm.unitofwork.UOWProperty object at 0x...
  table = Table('account',MetaData(),Column('id',Integer(),prima...
  tags = <sqlalchemy.orm.unitofwork.UOWProperty object at 0x21b4...
  username = <sqlalchemy.orm.unitofwork.UOWProperty object at 0x...
Properties

Inherited from object: __class__

Method Details

__repr__(self)
(Representation operator)

 
repr(x)
Overrides: object.__repr__
(inherited documentation)

__init__(self, *args, **kwargs)
(Constructor)

 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

Class Variable Details

__elixir_statements__

Value:
[(<elixir.statements.Statement object at 0x20dbcf0>,
  ('id', <class 'sqlalchemy.types.Integer'>),
  {'primary_key': True}),
 (<elixir.statements.Statement object at 0x20dbcf0>,
  ('username', Unicode(length=100)),
  {'nullable': False, 'unique': True}),
 (<elixir.statements.Statement object at 0x20dbcf0>,
  ('password', <class 'sqlalchemy.types.Unicode'>),
...

filters

Value:
<sqlalchemy.orm.unitofwork.UOWProperty object at 0x21c2870>

identities

Value:
<sqlalchemy.orm.unitofwork.UOWProperty object at 0x2186db0>

password

Value:
<sqlalchemy.orm.unitofwork.UOWProperty object at 0x2186af0>

table

Value:
Table('account',MetaData(),Column('id',Integer(),primary_key=True,null\
able=False),Column('username',Unicode(length=100),nullable=False),Colu\
mn('password',Unicode(length=None),nullable=False),schema=None)

tags

Value:
<sqlalchemy.orm.unitofwork.UOWProperty object at 0x21b49d0>

username

Value:
<sqlalchemy.orm.unitofwork.UOWProperty object at 0x2186a70>