Merge branch 'feature/new_api' into feature/3.0
This commit is contained in:
@ -385,7 +385,7 @@ class TiramisuAPI(object):
|
||||
def option(self, path, index=None):
|
||||
validate = not self.force_unrestraint
|
||||
settings = self.config.cfgimpl_get_settings()
|
||||
setting_properties = settings.getcontextproperties()
|
||||
setting_properties = settings.get_global_properties()
|
||||
opt = self.config.unwrap_from_path(path,
|
||||
setting_properties=setting_properties,
|
||||
validate=validate,
|
||||
|
@ -369,7 +369,7 @@ class Settings(object):
|
||||
return Property(self, properties, opt, path)
|
||||
return properties
|
||||
|
||||
def getcontextproperties(self):
|
||||
def get_global_properties(self):
|
||||
return self._getproperties()
|
||||
|
||||
def __setitem__(self, opt, value): # pragma: optional cover
|
||||
|
Reference in New Issue
Block a user