Skip to content

Quote annotations with | in them too

a7313ae
Select commit
Loading
Failed to load commit list.
Merged

Convert sentry_sdk type annotations into the modern format #5206

Quote annotations with | in them too
a7313ae
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Dec 15, 2025 in 0s

84.24% (-0.02%) compared to 2ce4379

View this Pull Request on Codecov

84.24% (-0.02%) compared to 2ce4379

Details

Codecov Report

❌ Patch coverage is 98.83659% with 22 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.24%. Comparing base (2ce4379) to head (a7313ae).
⚠️ Report is 15 commits behind head on master.

Files with missing lines Patch % Lines
sentry_sdk/integrations/aws_lambda.py 60.00% 8 Missing ⚠️
sentry_sdk/integrations/gcp.py 71.42% 2 Missing ⚠️
sentry_sdk/integrations/google_genai/__init__.py 88.88% 2 Missing ⚠️
sentry_sdk/integrations/spark/spark_driver.py 94.59% 2 Missing ⚠️
sentry_sdk/integrations/asgi.py 90.90% 1 Missing ⚠️
sentry_sdk/integrations/atexit.py 80.00% 1 Missing ⚠️
sentry_sdk/integrations/boto3.py 88.88% 1 Missing ⚠️
sentry_sdk/integrations/django/__init__.py 97.36% 1 Missing ⚠️
sentry_sdk/integrations/django/asgi.py 93.75% 1 Missing ⚠️
sentry_sdk/integrations/langchain.py 98.07% 1 Missing ⚠️
... and 2 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5206      +/-   ##
==========================================
- Coverage   84.25%   84.24%   -0.02%     
==========================================
  Files         181      182       +1     
  Lines       18463    18550      +87     
  Branches     3288     3299      +11     
==========================================
+ Hits        15556    15627      +71     
- Misses       1894     1911      +17     
+ Partials     1013     1012       -1     
Files with missing lines Coverage Δ
sentry_sdk/_compat.py 94.87% <100.00%> (ø)
sentry_sdk/_init_implementation.py 95.83% <100.00%> (ø)
sentry_sdk/_log_batcher.py 80.89% <100.00%> (ø)
sentry_sdk/_lru_cache.py 100.00% <100.00%> (ø)
sentry_sdk/_metrics_batcher.py 73.86% <100.00%> (ø)
sentry_sdk/_queue.py 62.22% <100.00%> (ø)
sentry_sdk/_werkzeug.py 48.14% <100.00%> (ø)
sentry_sdk/ai/monitoring.py 85.33% <100.00%> (ø)
sentry_sdk/ai/utils.py 94.68% <100.00%> (ø)
sentry_sdk/api.py 86.57% <100.00%> (ø)
... and 153 more