Skip to content

Commit d7d7dc2

Browse files
committed
fixes
1 parent 7a7fda6 commit d7d7dc2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

prometheus_client/openmetrics/exposition.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ def _is_valid_exemplar_metric(metric, sample):
2929
return False
3030

3131

32-
def generate_latest_fn(escaping=ALLOWUTF8):
32+
def generate_latest_fn(escaping):
33+
'''Returns a generate_latest function that will always use the given escaping.'''
3334
return lambda registry: generate_latest(registry, escaping)
3435

3536

0 commit comments

Comments
 (0)