FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fixes · prometheus/client_python@d7d7dc2 · GitHub

Commit d7d7dc2

Browse files
committed
fixes
1 parent 7a7fda6 commit d7d7dc2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎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)

Back | FazBrowse Home | New Git URL