Trees | Indices | Help |
---|
|
Representation of one build in one copr
|
|||
Inherited from |
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
id = db.Column(db.Integer, primary_key= True)
|
|||
pkgs = db.Column(db.Text)
|
|||
canceled = db.Column(db.Boolean, default= False)
|
|||
repos = db.Column(db.Text)
|
|||
submitted_on = db.Column(db.Integer, nullable= False)
|
|||
started_on = db.Column(db.Integer)
|
|||
ended_on = db.Column(db.Integer)
|
|||
results = db.Column(db.Text)
|
|||
memory_reqs = db.Column(db.Integer, default= constants.DEFAULT
|
|||
timeout = db.Column(db.Integer, default= constants.DEFAULT_BUI
|
|||
user_id = db.Column(db.Integer, db.ForeignKey('user.id'))
|
|||
user = db.relationship('User', backref= db.backref('builds'))
|
|||
copr_id = db.Column(db.Integer, db.ForeignKey('copr.id'))
|
|||
copr = db.relationship('Copr', backref= db.backref('builds'))
|
|||
chroots = association_proxy('build_chroots', 'mock_chroot')
|
|||
__mapper__ = <Mapper at 0x1b13a70; Build>
|
|||
__table__ = Table('build', MetaData(bind=None), Column('id', I
|
|||
__tablename__ =
|
|||
_sa_class_manager = <ClassManager of <class 'coprs.models.Buil
|
|||
Inherited from Inherited from |
|
|||
chroot_states | |||
has_pending_chroot | |||
status Return build status according to build status of its chroots |
|||
state Return text representation of status of this build |
|||
cancelable Find out if this build is cancelable. |
|||
Inherited from Inherited from |
|
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.
|
|
memory_reqs
|
timeout
|
__table__
|
_sa_class_manager
|
|
chroot_states
|
has_pending_chroot
|
statusReturn build status according to build status of its chroots
|
stateReturn text representation of status of this build
|
cancelableFind out if this build is cancelable. ATM, build is cancelable only if it wasn't grabbed by backend.
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Tue Jan 28 00:49:22 2014 | http://epydoc.sourceforge.net |