Trees | Indices | Help |
---|
|
Represents user of the copr frontend
|
|||
query_class An override for SQLAlchemy query used to do fulltext search. |
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
|
|
|||
id = db.Column(db.Integer, primary_key= True)
|
|||
openid_name = db.Column(db.String(100), nullable= False)
|
|||
mail = db.Column(db.String(150), nullable= False)
|
|||
timezone = db.Column(db.String(50), nullable= True)
|
|||
proven = db.Column(db.Boolean, default= False)
|
|||
admin = db.Column(db.Boolean, default= False)
|
|||
api_login = db.Column(db.String(40), nullable= False, default=
|
|||
api_token = db.Column(db.String(40), nullable= False, default=
|
|||
api_token_expiration = db.Column(db.Date, nullable= False, def
|
|||
__mapper__ = <Mapper at 0x2024c90; User>
|
|||
__table__ = Table('user', MetaData(bind=None), Column('id', In
|
|||
__tablename__ =
|
|||
_sa_class_manager = <ClassManager of <class 'coprs.models.User
|
|||
Inherited from Inherited from |
|
|||
name Returns the short username of the user, e.g. |
|||
serializable_attributes | |||
coprs_count Get number of coprs for this user. |
|||
gravatar_url Return url to libravatar image. |
|||
Inherited from |
|
Get permissions of this user for the given copr. Caches the permission during one request, so use this if you access them multiple times |
Creates proper openid_name from short name. >>> user.openid_name == User.openidize_name(user.name) True |
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.
|
|
api_login
|
api_token
|
api_token_expiration
|
__table__
|
_sa_class_manager
|
|
nameReturns the short username of the user, e.g. bkabrda
|
serializable_attributes
|
coprs_countGet number of coprs for this user.
|
gravatar_urlReturn url to libravatar image.
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Tue Jan 28 00:38:15 2014 | http://epydoc.sourceforge.net |