unrestraint in subconfig
This commit is contained in:
parent
82a91db16e
commit
c15dac8093
1 changed files with 6 additions and 0 deletions
|
@ -1536,6 +1536,12 @@ class TiramisuDispatcherOption(TiramisuDispatcher, TiramisuContextOption):
|
||||||
subconfig,
|
subconfig,
|
||||||
self._config_bag)
|
self._config_bag)
|
||||||
|
|
||||||
|
def __getattr__(self, subfunc: str) -> Any:
|
||||||
|
if subfunc == 'unrestraint':
|
||||||
|
config_bag = self._config_bag.copy()
|
||||||
|
config_bag.unrestraint()
|
||||||
|
return TiramisuDispatcherOption(config_bag)
|
||||||
|
|
||||||
|
|
||||||
class Config(TiramisuAPI):
|
class Config(TiramisuAPI):
|
||||||
"""Root config object that enables us to handle the configuration options"""
|
"""Root config object that enables us to handle the configuration options"""
|
||||||
|
|
Loading…
Reference in a new issue