Skip to content

Conversation

@xurui-c
Copy link
Member

@xurui-c xurui-c commented Jan 22, 2026

@xurui-c xurui-c marked this pull request as ready for review January 22, 2026 22:51
@xurui-c xurui-c requested review from a team as code owners January 22, 2026 22:51
Copilot AI review requested due to automatic review settings January 22, 2026 22:51
@xurui-c xurui-c changed the title fix: CI mypy fix(deploy): CI mypy Jan 22, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a mypy CI error by adding proper type annotations to a wrapper function in the test suite, replacing the # type: ignore[no-untyped-def] comment with explicit type hints.

Changes:

  • Updated the wrapper function signature in test_no_transformation_on_order_by test to include explicit type annotations for all parameters

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +624 to +630
def wrapper(
dataset: Any,
request: Any,
timer: Any,
robust: bool = False,
concurrent_queries_gauge: Any | None = None,
) -> QueryResult:
Copy link

Copilot AI Jan 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fix addresses the mypy error by adding proper type annotations to the wrapper function. However, there's an identical pattern in tests/web/rpc/v1/test_endpoint_export_trace_items.py at line 135 that still uses # type: ignore[no-untyped-def]. For consistency and to prevent similar mypy errors in the future, that instance should also be updated with the same type annotations.

Copilot uses AI. Check for mistakes.
Add type hints to wrapper function to remove type: ignore comment.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@phacops phacops enabled auto-merge (squash) January 22, 2026 23:11
@phacops phacops merged commit c22f9e1 into master Jan 22, 2026
34 checks passed
@phacops phacops deleted the rachel/mypy branch January 22, 2026 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants