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',
|
||||
'GroupConfig',
|
||||
'Config'
|
||||
'Config',
|
||||
'getapi',
|
||||
'APIError',
|
||||
'undefined']
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue