add export method to value in api
This commit is contained in:
parent
13ec51f468
commit
19b6ad6082
2 changed files with 4 additions and 1 deletions
|
@ -22,7 +22,7 @@ from .setting import owners, undefined
|
||||||
|
|
||||||
allfuncs = ['MetaConfig',
|
allfuncs = ['MetaConfig',
|
||||||
'GroupConfig',
|
'GroupConfig',
|
||||||
'Config'
|
'Config',
|
||||||
'getapi',
|
'getapi',
|
||||||
'APIError',
|
'APIError',
|
||||||
'undefined']
|
'undefined']
|
||||||
|
|
|
@ -651,6 +651,9 @@ class TiramisuContextValue(TiramisuContext):
|
||||||
path):
|
path):
|
||||||
self.config_bag.config.reset(path, self.config_bag)
|
self.config_bag.config.reset(path, self.config_bag)
|
||||||
|
|
||||||
|
def export(self):
|
||||||
|
return self.config_bag.config.cfgimpl_get_values()._p_.exportation()
|
||||||
|
|
||||||
|
|
||||||
class TiramisuContextOwner(TiramisuContext):
|
class TiramisuContextOwner(TiramisuContext):
|
||||||
@count
|
@count
|
||||||
|
|
Loading…
Reference in a new issue