Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit eaf9a41

Browse files
committed
helpers: prometheus metrics labels function linting fix
1 parent 2e71531 commit eaf9a41

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

upload/helpers.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,6 +818,12 @@ def generate_upload_prometheus_metrics_tags(
818818
"upload_version": upload_version,
819819
}
820820

821-
metrics_tags.update({field: value for field, value in optional_fields.items() if value or fill_labels})
821+
metrics_tags.update(
822+
{
823+
field: value
824+
for field, value in optional_fields.items()
825+
if value or fill_labels
826+
}
827+
)
822828

823829
return metrics_tags

0 commit comments

Comments
 (0)