Package bitten :: Module model :: Class Report

Class Report

object --+
         |
        Report

Represents a generated report.
Instance Methods
 
__init__(self, env, build=None, step=None, category=None, generator=None)
Initialize a new report with the specified attributes.
 
delete(self, db=None)
Remove the report from the database.
 
insert(self, db=None)
Insert a new build log into the database.

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

Class Methods
 
fetch(cls, env, id, db=None)
Retrieve an existing build from the database by ID.
 
select(cls, env, config=None, build=None, step=None, category=None, db=None)
Retrieve existing reports from the database that match the specified criteria.
Properties
  exists
Whether this report exists in the database

Inherited from object: __class__

Method Details

__init__(self, env, build=None, step=None, category=None, generator=None)
(Constructor)

 

Initialize a new report with the specified attributes.

To actually create this build log in the database, the insert method needs to be called.

Overrides: object.__init__

Property Details

exists

Whether this report exists in the database
Get Method:
unreachable(self)