(class from pyomo.common.config)
pyomo.common.config
Bases: Path
Path
Domain validator for a list of path-like objects.
This admits a path-like object or iterable of such. If a path-like object is passed, then a singleton list containing the object normalized through Path is returned. An iterable of path-like objects is cast to a list, each entry of which is normalized through Path.
basePath (Union[None, str, ConfigValue]) – The base path that will be prepended to any non-absolute path values provided. If None, defaults to Path.BasePath.
Path.BasePath
expandPath (bool) – If True, then the value will be expanded and normalized. If False, the string representation of the value will be returned unchanged. If None, expandPath will defer to the (negated) value of Path.SuppressPathExpansion
Path.SuppressPathExpansion
Methods
__init__([basePath, expandPath])
__init__
domain_name()
domain_name
Attributes
BasePath
SuppressPathExpansion
Member Documentation