Trees | Indices | Help |
---|
|
Represents user of the copr frontend
|
|||
Inherited from |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
id = db.Column(db.Integer, primary_key= True)
|
|||
username = db.Column(db.String(100), nullable= False, unique=
|
|||
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
|
|||
openid_groups = db.Column(JSONEncodedDict)
|
|||
__mapper__ = <Mapper at 0x7fee48fa7190; 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 Return the short username of the user, e.g. |
|||
user_teams | |||
user_groups | |||
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 |
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.
|
|
username
|
api_login
|
api_token
|
api_token_expiration
|
__table__
|
_sa_class_manager
|
|
nameReturn the short username of the user, e.g. bkabrda
|
user_teams
|
user_groups
|
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 Mon Dec 5 22:37:19 2016 | http://epydoc.sourceforge.net |