[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2023-08-05 22:06:38 +00:00
parent e6e92365d2
commit dc129849dd

View File

@@ -23,11 +23,13 @@ class Generator:
obj = getattr(jupyterhub.metrics, name)
if obj.__class__.__module__.startswith('prometheus_client.'):
description = obj.describe()[0]
table_rows.append([
table_rows.append(
[
description.type,
description.name,
description.documentation,
])
]
)
return table_rows
def prometheus_metrics(self):