mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-24 05:45:11 +00:00
chore: ruff format
This commit is contained in:
parent
83281b3b6e
commit
07ef35a14d
2 changed files with 2 additions and 6 deletions
|
|
@ -3971,9 +3971,7 @@ class PrometheusLogger(CustomLogger):
|
|||
methods=["GET"],
|
||||
include_in_schema=False,
|
||||
)
|
||||
verbose_proxy_logger.debug(
|
||||
"Starting Prometheus Metrics on /metrics (no authentication)"
|
||||
)
|
||||
verbose_proxy_logger.debug("Starting Prometheus Metrics on /metrics (no authentication)")
|
||||
|
||||
|
||||
def _prometheus_labels_from_context(
|
||||
|
|
|
|||
|
|
@ -32,9 +32,7 @@ def test_metrics_endpoint_no_trailing_slash_no_redirect(monkeypatch):
|
|||
|
||||
response = client.get("/metrics")
|
||||
|
||||
assert (
|
||||
response.status_code == 200
|
||||
), f"bare /metrics must not 307 (got {response.status_code}); see #30079"
|
||||
assert response.status_code == 200, f"bare /metrics must not 307 (got {response.status_code}); see #30079"
|
||||
assert "text/plain" in response.headers.get("content-type", "")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue