add export method to value in api

This commit is contained in:
Emmanuel Garette 2018-04-04 16:47:28 +02:00
parent 13ec51f468
commit 19b6ad6082
2 changed files with 4 additions and 1 deletions

View file

@ -22,7 +22,7 @@ from .setting import owners, undefined
allfuncs = ['MetaConfig',
'GroupConfig',
'Config'
'Config',
'getapi',
'APIError',
'undefined']

View file

@ -651,6 +651,9 @@ class TiramisuContextValue(TiramisuContext):
path):
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):
@count