Commit 592b100
ref(pydantic-ai): Remove mime_type from ImageUrl span data and consolidate tests
Remove the mime_type field from ImageUrl serialization in spans since
it is not needed for the base64 redaction use case. Update the regex
to use non-capturing groups accordingly. Consolidate scattered image
URL tests into two parameterized test functions.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent e7623d1 commit 592b100
File tree
3 files changed
+95
-325
lines changed- sentry_sdk/integrations/pydantic_ai
- spans
- tests/integrations/pydantic_ai
3 files changed
+95
-325
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | | - | |
| 7 | + | |
9 | 8 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | 27 | | |
29 | | - | |
30 | 28 | | |
31 | 29 | | |
32 | 30 | | |
| |||
0 commit comments