Mercurial > libervia-backend
annotate sat/bridge/bridge_constructor/constructors/mediawiki/mediawiki_template.tpl @ 2890:c652d079a9a1
core (memory/persistent): added clear method + initialise with a dict:
A "clear" method has been added to delete all data for a specific namespace (and profile).
Internal cache (self._cache) is not initialised with an empty dict instead of None to allow using methods like __setitem__ or clear without having to do a potentially expansive `load()` before. The only counterpart is that we won't have an exception anymore if developer forget to load() data before using them, which can make debugging a bit more difficult.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 07 Apr 2019 18:44:57 +0200 |
parents | 26edcf3a30eb |
children |
rev | line source |
---|---|
740
aebc8ba05129
bridge (constructor): added categories for the mediawiki export
souliane <souliane@mailoo.org>
parents:
278
diff
changeset
|
1 [[Catégorie:Salut à Toi]] |
aebc8ba05129
bridge (constructor): added categories for the mediawiki export
souliane <souliane@mailoo.org>
parents:
278
diff
changeset
|
2 [[Catégorie:documentation développeur]] |
aebc8ba05129
bridge (constructor): added categories for the mediawiki export
souliane <souliane@mailoo.org>
parents:
278
diff
changeset
|
3 |
278 | 4 = Overview = |
5 This is an autogenerated doc for SàT bridge's API | |
6 = Signals = | |
7 ##SIGNALS_PART## | |
8 = Methods = | |
9 ##METHODS_PART## | |
10 ---- | |
11 ##TIMESTAMP## |