Package coprs :: Module models :: Class BuildChroot
[hide private]
[frames] | no frames]

Class BuildChroot

source code


Representation of Build<->MockChroot relation

Instance Methods [hide private]
 
name(self)
Textual representation of name of this chroot
source code
 
state(self)
Return text representation of status of this build chroot
source code

Inherited from helpers.Serializer: serializable_attributes, to_dict

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

Class Variables [hide private]
  mock_chroot_id = db.Column(db.Integer, db.ForeignKey("mock_chr...
  mock_chroot = db.relationship("MockChroot", backref= db.backre...
  build_id = db.Column(db.Integer, db.ForeignKey("build.id"), pr...
  build = db.relationship("Build", backref= db.backref("build_ch...
  status = db.Column(db.Integer, default= helpers.StatusEnum("pe...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

name(self)

source code 

Textual representation of name of this chroot

Decorators:
  • @property

state(self)

source code 

Return text representation of status of this build chroot

Decorators:
  • @property

Class Variable Details [hide private]

mock_chroot_id

Value:
db.Column(db.Integer, db.ForeignKey("mock_chroot.id"), primary_key= Tr\
ue)

mock_chroot

Value:
db.relationship("MockChroot", backref= db.backref("builds"))

build_id

Value:
db.Column(db.Integer, db.ForeignKey("build.id"), primary_key= True)

build

Value:
db.relationship("Build", backref= db.backref("build_chroots"))

status

Value:
db.Column(db.Integer, default= helpers.StatusEnum("pending"))