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

Class CoprChroot

source code


Representation of Copr<->MockChroot relation

Instance Methods [hide private]

Inherited from 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...
  copr_id = db.Column(db.Integer, db.ForeignKey('copr.id'), prim...
  copr = db.relationship('Copr', backref= db.backref('copr_chroo...
Properties [hide private]

Inherited from object: __class__

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('copr_chroots'))

copr_id

Value:
db.Column(db.Integer, db.ForeignKey('copr.id'), primary_key= True)

copr

Value:
db.relationship('Copr', backref= db.backref('copr_chroots', single_par\
ent= True, cascade= 'all,delete,delete-orphan'))