Skip to content

ci: Add anthropic to uv typing group - #7324

Merged
alexander-alderman-webb merged 3 commits into
masterfrom
webb/anthropic/mypy
Sep 1, 2026
Merged

ci: Add anthropic to uv typing group#7324
alexander-alderman-webb merged 3 commits into
masterfrom
webb/anthropic/mypy

Conversation

@alexander-alderman-webb

Copy link
Copy Markdown
Contributor

Description

Add anthropic to the typing dependency group and fix the resulting mypy errors.

Resolve:

sentry_sdk/integrations/anthropic.py:39: error: Cannot assign to a type  [misc]
sentry_sdk/integrations/anthropic.py:39: error: Incompatible types in assignment (expression has type "None", variable has type "type[NotGiven]")  [assignment]
sentry_sdk/integrations/anthropic.py:44: error: Cannot assign to a type  [misc]
sentry_sdk/integrations/anthropic.py:44: error: Incompatible types in assignment (expression has type "None", variable has type "type[Omit]")  [assignment]
sentry_sdk/integrations/anthropic.py:105: error: Missing type arguments for generic type "Stream"  [type-arg]
sentry_sdk/integrations/anthropic.py:105: error: Missing type arguments for generic type "AsyncStream"  [type-arg]
sentry_sdk/integrations/anthropic.py:134: error: Item "Stream[Any]" of "Stream[Any] | MessageStream[None] | AsyncStream[Any] | AsyncMessageStream[None]" has no attribute "_integration"  [union-attr]
sentry_sdk/integrations/anthropic.py:134: error: Item "MessageStream[None]" of "Stream[Any] | MessageStream[None] | AsyncStream[Any] | AsyncMessageStream[None]" has no attribute "_integration"  [union-attr]
sentry_sdk/integrations/anthropic.py:134: error: Item "AsyncStream[Any]" of "Stream[Any] | MessageStream[None] | AsyncStream[Any] | AsyncMessageStream[None]" has no attribute "_integration"  [union-attr]
sentry_sdk/integrations/anthropic.py:134: error: Item "AsyncMessageStream[None]" of "Stream[Any] | MessageStream[None] | AsyncStream[Any] | AsyncMessageStream[None]" has no attribute "_integration"  [union-attr]
sentry_sdk/integrations/anthropic.py:135: error: Item "Stream[Any]" of "Stream[Any] | MessageStream[None] | AsyncStream[Any] | AsyncMessageStream[None]" has no attribute "_model"  [union-attr]
sentry_sdk/integrations/anthropic.py:135: error: Item "MessageStream[None]" of "Stream[Any] | MessageStream[None] | AsyncStream[Any] | AsyncMessageStream[None]" has no attribute "_model"  [union-attr]
sentry_sdk/integrations/anthropic.py:135: error: Item "AsyncStream[Any]" of "Stream[Any] | MessageStream[None] | AsyncStream[Any] | AsyncMessageStream[None]" has no attribute "_model"  [union-attr]
sentry_sdk/integrations/anthropic.py:135: error: Item "AsyncMessageStream[None]" of "Stream[Any] | MessageStream[None] | AsyncStream[Any] | AsyncMessageStream[None]" has no attribute "_model"  [union-attr]
sentry_sdk/integrations/anthropic.py:136: error: Item "Stream[Any]" of "Stream[Any] | MessageStream[None] | AsyncStream[Any] | AsyncMessageStream[None]" has no attribute "_usage"  [union-attr]
sentry_sdk/integrations/anthropic.py:136: error: Item "MessageStream[None]" of "Stream[Any] | MessageStream[None] | AsyncStream[Any] | AsyncMessageStream[None]" has no attribute "_usage"  [union-attr]
sentry_sdk/integrations/anthropic.py:136: error: Item "AsyncStream[Any]" of "Stream[Any] | MessageStream[None] | AsyncStream[Any] | AsyncMessageStream[None]" has no attribute "_usage"  [union-attr]
sentry_sdk/integrations/anthropic.py:136: error: Item "AsyncMessageStream[None]" of "Stream[Any] | MessageStream[None] | AsyncStream[Any] | AsyncMessageStream[None]" has no attribute "_usage"  [union-attr]
sentry_sdk/integrations/anthropic.py:137: error: Item "Stream[Any]" of "Stream[Any] | MessageStream[None] | AsyncStream[Any] | AsyncMessageStream[None]" has no attribute "_content_blocks"  [union-attr]
sentry_sdk/integrations/anthropic.py:137: error: Item "MessageStream[None]" of "Stream[Any] | MessageStream[None] | AsyncStream[Any] | AsyncMessageStream[None]" has no attribute "_content_blocks"  [union-attr]
sentry_sdk/integrations/anthropic.py:137: error: Item "AsyncStream[Any]" of "Stream[Any] | MessageStream[None] | AsyncStream[Any] | AsyncMessageStream[None]" has no attribute "_content_blocks"  [union-attr]
sentry_sdk/integrations/anthropic.py:137: error: Item "AsyncMessageStream[None]" of "Stream[Any] | MessageStream[None] | AsyncStream[Any] | AsyncMessageStream[None]" has no attribute "_content_blocks"  [union-attr]
sentry_sdk/integrations/anthropic.py:138: error: Item "Stream[Any]" of "Stream[Any] | MessageStream[None] | AsyncStream[Any] | AsyncMessageStream[None]" has no attribute "_response_id"  [union-attr]
sentry_sdk/integrations/anthropic.py:138: error: Item "MessageStream[None]" of "Stream[Any] | MessageStream[None] | AsyncStream[Any] | AsyncMessageStream[None]" has no attribute "_response_id"  [union-attr]
sentry_sdk/integrations/anthropic.py:138: error: Item "AsyncStream[Any]" of "Stream[Any] | MessageStream[None] | AsyncStream[Any] | AsyncMessageStream[None]" has no attribute "_response_id"  [union-attr]
sentry_sdk/integrations/anthropic.py:138: error: Item "AsyncMessageStream[None]" of "Stream[Any] | MessageStream[None] | AsyncStream[Any] | AsyncMessageStream[None]" has no attribute "_response_id"  [union-attr]
sentry_sdk/integrations/anthropic.py:139: error: Item "Stream[Any]" of "Stream[Any] | MessageStream[None] | AsyncStream[Any] | AsyncMessageStream[None]" has no attribute "_finish_reason"  [union-attr]
sentry_sdk/integrations/anthropic.py:139: error: Item "MessageStream[None]" of "Stream[Any] | MessageStream[None] | AsyncStream[Any] | AsyncMessageStream[None]" has no attribute "_finish_reason"  [union-attr]
sentry_sdk/integrations/anthropic.py:139: error: Item "AsyncStream[Any]" of "Stream[Any] | MessageStream[None] | AsyncStream[Any] | AsyncMessageStream[None]" has no attribute "_finish_reason"  [union-attr]
sentry_sdk/integrations/anthropic.py:139: error: Item "AsyncMessageStream[None]" of "Stream[Any] | MessageStream[None] | AsyncStream[Any] | AsyncMessageStream[None]" has no attribute "_finish_reason"  [union-attr]
sentry_sdk/integrations/anthropic.py:170: error: Cannot assign to a method  [method-assign]
sentry_sdk/integrations/anthropic.py:171: error: Cannot assign to a method  [method-assign]
sentry_sdk/integrations/anthropic.py:173: error: Cannot assign to a method  [method-assign]
sentry_sdk/integrations/anthropic.py:174: error: Cannot assign to a method  [method-assign]
sentry_sdk/integrations/anthropic.py:174: error: Incompatible types in assignment (expression has type "Callable[..., Awaitable[None]]", variable has type "Callable[[AsyncStream[_T]], Coroutine[Any, Any, None]]")  [assignment]
sentry_sdk/integrations/anthropic.py:179: error: Cannot assign to a method  [method-assign]
sentry_sdk/integrations/anthropic.py:180: error: Cannot assign to a method  [method-assign]
sentry_sdk/integrations/anthropic.py:187: error: Cannot assign to a method  [method-assign]
sentry_sdk/integrations/anthropic.py:189: error: Cannot assign to a method  [method-assign]
sentry_sdk/integrations/anthropic.py:190: error: Cannot assign to a method  [method-assign]
sentry_sdk/integrations/anthropic.py:199: error: Cannot assign to a method  [method-assign]
sentry_sdk/integrations/anthropic.py:199: error: Incompatible types in assignment (expression has type "Callable[..., Awaitable[None]]", variable has type "Callable[[AsyncMessageStream[ResponseFormatT]], Coroutine[Any, Any, None]]")  [assignment]
sentry_sdk/integrations/anthropic.py:473: error: List comprehension has incompatible type List[dict[str, Any] | Any]; expected List[TextBlockParam | ImageBlockParam | DocumentBlockParam | SearchResultBlockParam | ThinkingBlockParam | <23 more items>]  [misc]
sentry_sdk/integrations/anthropic.py:478: error: Argument 1 to "append" of "list" has incompatible type "MessageParam"; expected "dict[str, Literal['user', 'assistant', 'system'] | list[dict[str, Any] | Any]]"  [arg-type]
sentry_sdk/integrations/anthropic.py:517: error: Argument "model" to "_set_common_input_data" has incompatible type "Any | None"; expected "Literal['claude-sonnet-5', 'claude-fable-5', 'claude-mythos-5', 'claude-opus-5', 'claude-opus-4-8', 'claude-opus-4-7', 'claude-mythos-preview', 'claude-opus-4-6', 'claude-sonnet-4-6', 'claude-haiku-4-5', 'claude-haiku-4-5-20251001', 'claude-opus-4-5', 'claude-opus-4-5-20251101', 'claude-sonnet-4-5', 'claude-sonnet-4-5-20250929'] | str"  [arg-type]
sentry_sdk/integrations/anthropic.py:527: error: Missing type arguments for generic type "Stream"  [type-arg]
sentry_sdk/integrations/anthropic.py:557: error: Missing type arguments for generic type "AsyncStream"  [type-arg]
sentry_sdk/integrations/anthropic.py:582: error: Argument 1 to "_accumulate_event_data" has incompatible type "AsyncStream[Any] | AsyncMessageStream[None]"; expected "Stream[Any] | MessageStream[None]"  [arg-type]
sentry_sdk/integrations/anthropic.py:698: error: "Stream[Any]" has no attribute "_span"  [attr-defined]
sentry_sdk/integrations/anthropic.py:699: error: "Stream[Any]" has no attribute "_integration"; maybe "_iterator"?  [attr-defined]
sentry_sdk/integrations/anthropic.py:796: error: "AsyncStream[Any]" has no attribute "_span"  [attr-defined]
sentry_sdk/integrations/anthropic.py:797: error: "AsyncStream[Any]" has no attribute "_integration"; maybe "_iterator"?  [attr-defined]
sentry_sdk/integrations/anthropic.py:799: error: Argument 1 to "_initialize_data_accumulation_state" has incompatible type "AsyncStream[Any]"; expected "Stream[Any] | MessageStream[None]"  [arg-type]
sentry_sdk/integrations/anthropic.py:856: error: Missing type arguments for generic type "Stream"  [type-arg]
sentry_sdk/integrations/anthropic.py:861: error: Item "Stream[Any]" of "Stream[Any] | MessageStream[None]" has no attribute "_model"  [union-attr]
sentry_sdk/integrations/anthropic.py:861: error: Item "MessageStream[None]" of "Stream[Any] | MessageStream[None]" has no attribute "_model"  [union-attr]
sentry_sdk/integrations/anthropic.py:862: error: Item "Stream[Any]" of "Stream[Any] | MessageStream[None]" has no attribute "_usage"  [union-attr]
sentry_sdk/integrations/anthropic.py:862: error: Item "MessageStream[None]" of "Stream[Any] | MessageStream[None]" has no attribute "_usage"  [union-attr]
sentry_sdk/integrations/anthropic.py:863: error: Item "Stream[Any]" of "Stream[Any] | MessageStream[None]" has no attribute "_content_blocks"  [union-attr]
sentry_sdk/integrations/anthropic.py:863: error: Item "MessageStream[None]" of "Stream[Any] | MessageStream[None]" has no attribute "_content_blocks"  [union-attr]
sentry_sdk/integrations/anthropic.py:864: error: Item "Stream[Any]" of "Stream[Any] | MessageStream[None]" has no attribute "_response_id"  [union-attr]
sentry_sdk/integrations/anthropic.py:864: error: Item "MessageStream[None]" of "Stream[Any] | MessageStream[None]" has no attribute "_response_id"  [union-attr]
sentry_sdk/integrations/anthropic.py:865: error: Item "Stream[Any]" of "Stream[Any] | MessageStream[None]" has no attribute "_finish_reason"  [union-attr]
sentry_sdk/integrations/anthropic.py:865: error: Item "MessageStream[None]" of "Stream[Any] | MessageStream[None]" has no attribute "_finish_reason"  [union-attr]
sentry_sdk/integrations/anthropic.py:869: error: Missing type arguments for generic type "Stream"  [type-arg]
sentry_sdk/integrations/anthropic.py:877: error: Item "Stream[Any]" of "Stream[Any] | MessageStream[None]" has no attribute "_model"  [union-attr]
sentry_sdk/integrations/anthropic.py:877: error: Item "MessageStream[None]" of "Stream[Any] | MessageStream[None]" has no attribute "_model"  [union-attr]
sentry_sdk/integrations/anthropic.py:878: error: Item "Stream[Any]" of "Stream[Any] | MessageStream[None]" has no attribute "_usage"  [union-attr]
sentry_sdk/integrations/anthropic.py:878: error: Item "MessageStream[None]" of "Stream[Any] | MessageStream[None]" has no attribute "_usage"  [union-attr]
sentry_sdk/integrations/anthropic.py:879: error: Item "Stream[Any]" of "Stream[Any] | MessageStream[None]" has no attribute "_content_blocks"  [union-attr]
sentry_sdk/integrations/anthropic.py:879: error: Item "MessageStream[None]" of "Stream[Any] | MessageStream[None]" has no attribute "_content_blocks"  [union-attr]
sentry_sdk/integrations/anthropic.py:880: error: Item "Stream[Any]" of "Stream[Any] | MessageStream[None]" has no attribute "_response_id"  [union-attr]
sentry_sdk/integrations/anthropic.py:880: error: Item "MessageStream[None]" of "Stream[Any] | MessageStream[None]" has no attribute "_response_id"  [union-attr]
sentry_sdk/integrations/anthropic.py:881: error: Item "Stream[Any]" of "Stream[Any] | MessageStream[None]" has no attribute "_finish_reason"  [union-attr]
sentry_sdk/integrations/anthropic.py:881: error: Item "MessageStream[None]" of "Stream[Any] | MessageStream[None]" has no attribute "_finish_reason"  [union-attr]
sentry_sdk/integrations/anthropic.py:884: error: Item "Stream[Any]" of "Stream[Any] | MessageStream[None]" has no attribute "_model"  [union-attr]
sentry_sdk/integrations/anthropic.py:884: error: Item "MessageStream[None]" of "Stream[Any] | MessageStream[None]" has no attribute "_model"  [union-attr]
sentry_sdk/integrations/anthropic.py:885: error: Item "Stream[Any]" of "Stream[Any] | MessageStream[None]" has no attribute "_usage"  [union-attr]
sentry_sdk/integrations/anthropic.py:885: error: Item "MessageStream[None]" of "Stream[Any] | MessageStream[None]" has no attribute "_usage"  [union-attr]
sentry_sdk/integrations/anthropic.py:886: error: Item "Stream[Any]" of "Stream[Any] | MessageStream[None]" has no attribute "_content_blocks"  [union-attr]
sentry_sdk/integrations/anthropic.py:886: error: Item "MessageStream[None]" of "Stream[Any] | MessageStream[None]" has no attribute "_content_blocks"  [union-attr]
sentry_sdk/integrations/anthropic.py:887: error: Item "Stream[Any]" of "Stream[Any] | MessageStream[None]" has no attribute "_response_id"  [union-attr]
sentry_sdk/integrations/anthropic.py:887: error: Item "MessageStream[None]" of "Stream[Any] | MessageStream[None]" has no attribute "_response_id"  [union-attr]
sentry_sdk/integrations/anthropic.py:888: error: Item "Stream[Any]" of "Stream[Any] | MessageStream[None]" has no attribute "_finish_reason"  [union-attr]
sentry_sdk/integrations/anthropic.py:888: error: Item "MessageStream[None]" of "Stream[Any] | MessageStream[None]" has no attribute "_finish_reason"  [union-attr]
sentry_sdk/integrations/anthropic.py:932: error: Missing type arguments for generic type "Stream"  [type-arg]
sentry_sdk/integrations/anthropic.py:957: error: Missing type arguments for generic type "AsyncStream"  [type-arg]
sentry_sdk/integrations/anthropic.py:1004: error: "MessageStreamManager[None]" has no attribute "_messages"  [attr-defined]
sentry_sdk/integrations/anthropic.py:1008: error: "MessageStreamManager[None]" has no attribute "_messages"  [attr-defined]
sentry_sdk/integrations/anthropic.py:1014: error: "MessageStreamManager[None]" has no attribute "_model"  [attr-defined]
sentry_sdk/integrations/anthropic.py:1024: error: "MessageStreamManager[None]" has no attribute "_model"  [attr-defined]
sentry_sdk/integrations/anthropic.py:1035: error: "MessageStreamManager[None]" has no attribute "_messages"  [attr-defined]
sentry_sdk/integrations/anthropic.py:1036: error: "MessageStreamManager[None]" has no attribute "_model"  [attr-defined]
sentry_sdk/integrations/anthropic.py:1037: error: "MessageStreamManager[None]" has no attribute "_system"  [attr-defined]
sentry_sdk/integrations/anthropic.py:1038: error: "MessageStreamManager[None]" has no attribute "_temperature"  [attr-defined]
sentry_sdk/integrations/anthropic.py:1039: error: "MessageStreamManager[None]" has no attribute "_top_k"  [attr-defined]
sentry_sdk/integrations/anthropic.py:1040: error: "MessageStreamManager[None]" has no attribute "_top_p"  [attr-defined]
sentry_sdk/integrations/anthropic.py:1041: error: "MessageStreamManager[None]" has no attribute "_tools"  [attr-defined]
sentry_sdk/integrations/anthropic.py:1111: error: "AsyncMessageStreamManager[None]" has no attribute "_messages"  [attr-defined]
sentry_sdk/integrations/anthropic.py:1115: error: "AsyncMessageStreamManager[None]" has no attribute "_messages"  [attr-defined]
sentry_sdk/integrations/anthropic.py:1121: error: "AsyncMessageStreamManager[None]" has no attribute "_model"  [attr-defined]
sentry_sdk/integrations/anthropic.py:1131: error: "AsyncMessageStreamManager[None]" has no attribute "_model"  [attr-defined]
sentry_sdk/integrations/anthropic.py:1142: error: "AsyncMessageStreamManager[None]" has no attribute "_messages"  [attr-defined]
sentry_sdk/integrations/anthropic.py:1143: error: "AsyncMessageStreamManager[None]" has no attribute "_model"  [attr-defined]
sentry_sdk/integrations/anthropic.py:1144: error: "AsyncMessageStreamManager[None]" has no attribute "_system"  [attr-defined]
sentry_sdk/integrations/anthropic.py:1145: error: "AsyncMessageStreamManager[None]" has no attribute "_temperature"  [attr-defined]
sentry_sdk/integrations/anthropic.py:1146: error: "AsyncMessageStreamManager[None]" has no attribute "_top_k"  [attr-defined]
sentry_sdk/integrations/anthropic.py:1147: error: "AsyncMessageStreamManager[None]" has no attribute "_top_p"  [attr-defined]
sentry_sdk/integrations/anthropic.py:1148: error: "AsyncMessageStreamManager[None]" has no attribute "_tools"  [attr-defined]
sentry_sdk/integrations/google_genai/utils.py:608: error: Item "None" of "list[Candidate] | None" has no attribute "__iter__" (not iterable)  [union-attr]
sentry_sdk/integrations/google_genai/utils.py:614: error: Item "None" of "Content | Any | None" has no attribute "parts"  [union-attr]
sentry_sdk/integrations/google_genai/utils.py:614: error: Item "None" of "list[Part] | Any | None" has no attribute "__iter__" (not iterable)  [union-attr]
sentry_sdk/integrations/google_genai/utils.py:624: error: Item "None" of "FunctionCall | Any | None" has no attribute "args"  [union-attr]
sentry_sdk/integrations/google_genai/utils.py:631: error: Item "None" of "list[Content] | None" has no attribute "__iter__" (not iterable)  [union-attr]
sentry_sdk/integrations/google_genai/utils.py:661: error: Argument 1 to "signature" has incompatible type "Tool"; expected "Callable[..., Any]"  [arg-type]
sentry_sdk/integrations/google_genai/utils.py:722: error: Argument 3 to "_capture_tool_input" has incompatible type "Callable[..., Any]"; expected "Tool"  [arg-type]
sentry_sdk/integrations/google_genai/utils.py:750: error: Argument 3 to "_capture_tool_input" has incompatible type "Callable[..., Any]"; expected "Tool"  [arg-type]
sentry_sdk/integrations/google_genai/utils.py:779: error: Argument 1 to "wrapped_tool" has incompatible type "google.genai.types.Tool | Callable[..., Any] | mcp_types._types.Tool | ClientSession | Any"; expected "google.genai.types.Tool | Callable[..., Any]"  [arg-type]
sentry_sdk/integrations/google_genai/utils.py:779: error: Item "None" of "list[google.genai.types.Tool | Callable[..., Any] | mcp_types._types.Tool | ClientSession] | None" has no attribute "__iter__" (not iterable)  [union-attr]
sentry_sdk/integrations/google_genai/utils.py:793: error: Item "None" of "list[Candidate] | None" has no attribute "__iter__" (not iterable)  [union-attr]
sentry_sdk/integrations/google_genai/utils.py:804: error: Incompatible return value type (got "list[str | Any | None] | None", expected "list[str] | None")  [return-value]
sentry_sdk/integrations/google_genai/utils.py:815: error: Item "None" of "list[Candidate] | None" has no attribute "__iter__" (not iterable)  [union-attr]
sentry_sdk/integrations/google_genai/utils.py:847: error: Incompatible types (expression has type "Any | str | None", TypedDict item "content" has type "str")  [typeddict-item]
sentry_sdk/integrations/google_genai/utils.py:847: error: TypedDict "ContentDict" has no key "text"  [typeddict-item]
sentry_sdk/integrations/google_genai/utils.py:847: error: TypedDict "FileDict" has no key "text"  [typeddict-item]
sentry_sdk/integrations/google_genai/utils.py:851: error: Item "object" of "Any | object" has no attribute "__iter__" (not iterable)  [union-attr]
sentry_sdk/integrations/google_genai/utils.py:907: error: Argument 1 to "_format_tools_for_span" has incompatible type "list[google.genai.types.Tool | Callable[..., Any] | mcp_types._types.Tool | ClientSession]"; expected "Iterable[google.genai.types.Tool | Callable[..., Any]]"  [arg-type]
sentry_sdk/integrations/google_genai/utils.py:1006: error: Argument 2 to "set_attribute" of "StreamedSpan" has incompatible type "str | None"; expected "str | bool | float | int | list[str] | <7 more items>"  [arg-type]
sentry_sdk/integrations/google_genai/utils.py:1009: error: Argument 2 to "set_attribute" of "StreamedSpan" has incompatible type "str | None"; expected "str | bool | float | int | list[str] | <7 more items>"  [arg-type]
sentry_sdk/integrations/google_genai/utils.py:1069: error: Argument 1 to "wrapped_config_with_tools" has incompatible type "Any | None"; expected "GenerateContentConfig"  [arg-type]
sentry_sdk/integrations/google_genai/__init__.py:50: error: Cannot assign to a method  [method-assign]
sentry_sdk/integrations/google_genai/__init__.py:51: error: Cannot assign to a method  [method-assign]
sentry_sdk/integrations/google_genai/__init__.py:54: error: Cannot assign to a method  [method-assign]
sentry_sdk/integrations/google_genai/__init__.py:57: error: Cannot assign to a method  [method-assign]
sentry_sdk/integrations/google_genai/__init__.py:60: error: Cannot assign to a method  [method-assign]
sentry_sdk/integrations/google_genai/__init__.py:63: error: Cannot assign to a method  [method-assign]
Found 136 errors in 3 files (checked 193 source files)

Issues

Reminders

@alexander-alderman-webb
alexander-alderman-webb marked this pull request as ready for review September 1, 2026 09:19
@alexander-alderman-webb
alexander-alderman-webb requested a review from a team as a code owner September 1, 2026 09:19
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Codecov Results 📊

121930 passed | ⏭️ 6762 skipped | Total: 128692 | Pass Rate: 94.75% | Execution Time: 420m 26s

📊 Comparison with Base Branch

Metric Change
Total Tests 📈 +710
Passed Tests 📈 +711
Failed Tests 📉 -1
Skipped Tests

➖ Removed Tests (1)

View removed tests
  • test_continuous_profiler_auto_start_and_stop_sampled[experiment-thread]
    • File: tests.profiler.test_continuous_profiler

All tests are passing successfully.

✅ Patch coverage is 94.74%. Project has 2489 uncovered lines.
✅ Project coverage is 90.3%. Comparing base (base) to head (head).

Files with missing lines (1)
File Patch % Lines
sentry_sdk/integrations/anthropic.py 94.74% ⚠️ 2 Missing and 2 partials
Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
+ Coverage    90.27%    90.30%    +0.03%
==========================================
  Files          193       193         —
  Lines        25646     25649        +3
  Branches      9454      9454         —
==========================================
+ Hits         23150     23160       +10
- Misses        2496      2489        -7
- Partials      1445      1445         —

Generated by Codecov Action

@alexander-alderman-webb
alexander-alderman-webb merged commit 57d6bca into master Sep 1, 2026
395 of 400 checks passed
@alexander-alderman-webb
alexander-alderman-webb deleted the webb/anthropic/mypy branch September 1, 2026 13:29
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.

2 participants