SettingsValue
gammaloop Class
SettingsValue()Read-only, detached view over serialized GammaLoop settings.
Member details
path
Property · read-onlykind
Property · read-onlyis_object
Methodis_array
Methodis_scalar
Methodkeys
Methodkeys() -> list[str]Return this object's child keys in lexical order.
Raises
TypeErrorIf this value is not an object.
get
Methodget(path: str) -> AnyResolve a dot-separated descendant path.
An empty path returns this value. Objects become SettingsValue views, while scalar values become their ordinary Python equivalents.
Raises
KeyErrorIf the path does not exist below this value.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
path | str | — | Relative path such as |
to_dict
Methodto_dict() -> AnyConvert the complete detached value tree to ordinary Python containers and scalars.
__getattr__
Method__getattr__(name: str) -> AnyResolve an object child by attribute name.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
name | str | — | Immediate child key to resolve. |
__dir__
Method__dir__() -> list[str]Return object-child names in lexical order, or an empty list for other kinds.
__len__
Method__str__
Method__repr__
Method__getitem__
Method__getitem__(key: Any, /) -> AnyResolve a relative string path or array index.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
key | Any | — | Descendant path for an object, or zero-based index for an array. |
View generated signature source: docs/api/python/gammaloop-python.pyi:1831