global: snapshot

This commit is contained in:
nym21
2026-01-14 22:20:23 +01:00
parent 8a938c00f6
commit 467dfcc4b8
487 changed files with 17409 additions and 14029 deletions

View File

@@ -20,8 +20,10 @@ def get_all_metrics(obj, path=""):
metrics = []
for attr_name in dir(obj):
# Skip dunder methods and internal attributes like _client
if attr_name.startswith("__") or attr_name == "_client":
# Skip dunder methods and internal attributes (_letter), but allow _digit (e.g., _10y, _2017)
if attr_name.startswith("__"):
continue
if attr_name.startswith("_") and len(attr_name) > 1 and attr_name[1].isalpha():
continue
try: