Skip to content

Commit

Permalink
Use .values() when using only values
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvipanda committed Nov 4, 2024
1 parent f1897ad commit c6d51e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jupyter_server/serverapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -2703,7 +2703,7 @@ def init_metrics(self) -> None:
"""
SERVER_INFO.info({"version": __version__})

for k, ext in self.extension_manager.extensions.items():
for ext in self.extension_manager.extensions.values():
SERVER_EXTENSION_INFO.labels(
name=ext.name, version=ext.version, enabled=str(ext.enabled).lower()
)
Expand Down

0 comments on commit c6d51e7

Please sign in to comment.