Software analysis toolkit. Define checks in high-level language and leverage library to perform analysis of common Cloud applications.
30
stars
37
forks
source link
Add property aliasing to Python properties #912
Open
mustafakemalgilor opened 1 week ago
Currently, property names are long because they must be the full import path to the property, e.g.:
The given example property is implemented in the MemInfo class as follows:
hotsos/core/plugins/kernel/memory/MemInfo.py
:We could allow aliasing such properties to a shorter, more comprehensible name with a decorator, e.g.:
hotsos/core/plugins/kernel/memory/MemInfo.py
:... so we can refer to it in YAML files like: