-
Notifications
You must be signed in to change notification settings - Fork 569
Closed
Labels
Description
How do you use Sentry?
Sentry Saas (sentry.io)
Version
1.5.10
Steps to Reproduce
$ python3.10 -m venv venv$ source ./venv/bin/activate # assuming unix[venv] $ pip install sentry-sdk==1.5.10 mypy==0.950(currently the latest versions of sentry-sdk and mypy)- create file to test (
mytest.pyfor example purposes)
# mytest.py
import sentry_sdk
sentry_sdk.init(dsn="this is a string")[venv] $ mypy mytest.py
Expected Result
no errors
Actual Result
❯ mypy mytest.py
mytest.py:3: error: Cannot instantiate abstract class "init" with abstract attribute "__exit__"
Found 1 error in 1 file (checked 1 source file)
QuentinFchx, davidtheclark, adampiskorski, brandon-piner-aruba, DaniilAnichin and 26 more