Trees | Indices | Help |
---|
|
Representation of one build in one copr
|
|||
Inherited from |
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
__table_args__ =
|
|||
id = db.Column(db.Integer, primary_key= True)
|
|||
pkgs = db.Column(db.Text)
|
|||
built_packages = db.Column(db.Text)
|
|||
pkg_version = db.Column(db.Text)
|
|||
canceled = db.Column(db.Boolean, default= False)
|
|||
repos = db.Column(db.Text)
|
|||
submitted_on = db.Column(db.Integer, nullable= False)
|
|||
results = db.Column(db.Text)
|
|||
memory_reqs = db.Column(db.Integer, default= constants.DEFAULT
|
|||
timeout = db.Column(db.Integer, default= constants.DEFAULT_BUI
|
|||
enable_net = db.Column(db.Boolean, default= False, server_defa
|
|||
source_type = db.Column(db.Integer, default= helpers.BuildSour
|
|||
source_json = db.Column(db.Text)
|
|||
fail_type = db.Column(db.Integer, default= helpers.FailTypeEnu
|
|||
is_background = db.Column(db.Boolean, default= False, server_d
|
|||
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"))
|
|||
package_id = db.Column(db.Integer, db.ForeignKey("package.id"))
|
|||
package = db.relationship("Package")
|
|||
chroots = association_proxy("build_chroots", "mock_chroot")
|
|||
__mapper__ = <Mapper at 0x7fee48ee3110; Build>
|
|||
__table__ = Table('build', MetaData(bind=None), Column('id', I
|
|||
__tablename__ =
|
|||
_sa_class_manager = <ClassManager of <class 'coprs.models.Buil
|
|||
Inherited from Inherited from |
|
|||
user_name | |||
group_name | |||
copr_name | |||
fail_type_text | |||
is_older_results_naming_used | |||
repos_list | |||
result_dir_name | |||
source_json_dict | |||
started_on | |||
min_started_on | |||
ended_on | |||
max_ended_on | |||
chroots_started_on | |||
chroots_ended_on | |||
source_type_text | |||
source_metadata | |||
chroot_states | |||
chroots_dict_by_name | |||
has_pending_chroot | |||
has_unfinished_chroot | |||
has_importing_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. |
|||
repeatable Find out if this build is repeatable. |
|||
finished Find out if this build is in finished state. |
|||
persistent Find out if this build is persistent. |
|||
src_pkg_name Extract source package name from source name or url todo: obsolete |
|||
package_name | |||
Inherited from 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.
|
|
__table_args__
|
memory_reqs
|
timeout
|
enable_net
|
source_type
|
fail_type
|
is_background
|
__table__
|
_sa_class_manager
|
|
user_name
|
group_name
|
copr_name
|
fail_type_text
|
is_older_results_naming_used
|
repos_list
|
result_dir_name
|
source_json_dict
|
started_on
|
min_started_on
|
ended_on
|
max_ended_on
|
chroots_started_on
|
chroots_ended_on
|
source_type_text
|
source_metadata
|
chroot_states
|
chroots_dict_by_name
|
has_pending_chroot
|
has_unfinished_chroot
|
has_importing_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. Build is cancelabel only when it's pending (not started)
|
repeatableFind out if this build is repeatable. Build is repeatable only if it's not pending, starting or running
|
finishedFind out if this build is in finished state. Build is finished only if all its build_chroots are in finished state.
|
persistentFind out if this build is persistent. This property is inherited from the project.
|
src_pkg_nameExtract source package name from source name or url todo: obsolete
|
package_name
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Dec 5 22:37:18 2016 | http://epydoc.sourceforge.net |