|
OpenQuizz
Une application de gestion des contenus pédagogiques
|


Public Member Functions | |
| def | __init__ (self, ref_file) |
| def | update_cache (self, force=False) |
Public Member Functions inherited from CompoundDB | |
| def | has_object (self, sha) |
| def | info (self, sha) |
| def | stream (self, sha) |
| def | size (self) |
| def | sha_iter (self) |
| def | databases (self) |
| def | partial_to_complete_sha_hex (self, partial_hexsha) |
Public Member Functions inherited from ObjectDBR | |
| def | __contains__ (self, sha) |
Public Member Functions inherited from LazyMixin | |
| def | __getattr__ (self, attr) |
Static Public Attributes | |
| ObjectDBCls | |
A database consisting of database referred to in a file
| def __init__ | ( | self, | |
| ref_file | |||
| ) |
| def update_cache | ( | self, | |
force = False |
|||
| ) |
Call this method if the underlying data changed to trigger an update
of the internal caching structures.
:param force: if True, the update must be performed. Otherwise the implementation
may decide not to perform an update if it thinks nothing has changed.
:return: True if an update was performed as something change indeed
Reimplemented from CompoundDB.
|
static |