Skip to content

Commit

Permalink
Fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
phacops committed Jan 23, 2025
1 parent 2b29637 commit df05a4e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import uuid
from datetime import datetime, timedelta
from operator import itemgetter
from typing import Any, Mapping

import pytest
Expand Down Expand Up @@ -148,7 +149,7 @@ def test_with_data(self, setup_teardown: Any) -> None:
)
response = EndpointTraceItemTable().execute(message)
checks = list(
sorted(_UPTIME_CHECKS, key=lambda c: c["scheduled_check_time_ms"])
sorted(_UPTIME_CHECKS, key=itemgetter("scheduled_check_time_ms"))
)[:10]

expected_response = TraceItemTableResponse(
Expand Down

0 comments on commit df05a4e

Please sign in to comment.