| Home | Trees | Indices | Help |
|---|
|
|
Stores and represents statistics about the update process.
This is a dict-like object, that can contain only other instances of
Stats.
|
|||
| Stats |
|
||
|
|||
|
|||
| string |
|
||
timedelta
|
|
||
|
Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
| string |
source = NoneThe sources name. |
||
| int |
entries = -1Number of entries in total. |
||
| int |
new_entries = -1Number of newly added entries since the last update. |
||
| int |
modified_entries = -1Number of entries that hav been modified since the last update. |
||
| int |
unmodified_entries = -1Number of unmodified entries. |
||
| int |
static_entries = -1Number of static entries. |
||
| string |
status = NoneA string denoting the status of the update process. |
||
| list |
messages = NoneA list of messages added during the update process. |
||
| datetime |
update_time_start = NoneThe date and time of the start of the update process. |
||
| datetime |
update_time_end = NoneThe date and time of the end of the update process. |
||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Initialize instance variables.
|
Provided to produce dict-like behavior. All it does is logging a warning on DEBUG level, if someone tries to set a item.
|
Add a instance of
|
Return a table representing the information in this instance and all
|
|
|
|||
static_entriesNumber of static entries. "Static" meaning entries that can not be send as a stub, because there is no modification timestamp.
|
statusA string denoting the status of the update process. Currently it is set tou'ok' for success and u'FAILED' for a failed
run. TODO update, finish implementation!
|
messagesA list of messages added during the update process. Can be used to notify the user about uncritical errors and warnings.
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Thu Sep 16 13:42:04 2010 | http://epydoc.sourceforge.net |