| Trees | Indices | Help |
|---|
|
|
Representation of Copr<->MockChroot relation
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
buildroot_pkgs = db.Column(db.Text)
|
|||
repos = db.Column(db.Text, default= "", server_default= "", nu
|
|||
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
|
|||
comps_zlib = db.Column(db.LargeBinary(), nullable= True)
|
|||
comps_name = db.Column(db.String(127), nullable= True)
|
|||
module_md_zlib = db.Column(db.LargeBinary(), nullable= True)
|
|||
module_md_name = db.Column(db.String(127), nullable= True)
|
|||
__mapper__ = <Mapper at 0xb465bc50; CoprChroot>
|
|||
__table__ = Table('copr_chroot', MetaData(bind=None), Column('
|
|||
__tablename__ =
|
|||
_sa_class_manager = <ClassManager of <class 'coprs.models.Copr
|
|||
|
Inherited from Inherited from |
|||
|
|||
| buildroot_pkgs_list | |||
| repos_list | |||
| comps | |||
| module_md | |||
| comps_len | |||
| module_md_len | |||
| name | |||
| is_active | |||
|
Inherited from |
|||
|
|||
Usage:
SQLAlchObject.to_dict() => returns a flat dict of the object
SQLAlchObject.to_dict({"foo": {}}) => returns a dict of the object
and will include a flat dict of object foo inside of that
SQLAlchObject.to_dict({"foo": {"bar": {}}, "spam": {}}) => returns
a dict of the object, which will include dict of foo
(which will include dict of bar) and dict of spam.
Options can also contain two special values: __columns_only__
and __columns_except__
If present, the first makes only specified fiels appear,
the second removes specified fields. Both of these fields
must be either strings (only works for one field) or lists
(for one and more fields).
SQLAlchObject.to_dict({"foo": {"__columns_except__": ["id"]},
"__columns_only__": "name"}) =>
The SQLAlchObject will only put its "name" into the resulting dict,
while "foo" all of its fields except "id".
Options can also specify whether to include foo_id when displaying
related foo object (__included_ids__, defaults to True).
This doesn"t apply when __columns_only__ is specified.
|
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.
|
|
|||
repos
|
mock_chroot_id
|
mock_chroot
|
copr_id
|
copr
|
__table__
|
_sa_class_manager
|
|
|||
buildroot_pkgs_list |
repos_list |
comps |
module_md |
comps_len |
module_md_len |
name |
is_active |
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 | http://epydoc.sourceforge.net |