add export method to value in api
This commit is contained in:
parent
13ec51f468
commit
19b6ad6082
@ -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 New Issue
Block a user