Skip to content

Commit

Permalink
fix(issues): Fix import location (#84388)
Browse files Browse the repository at this point in the history
Fixes the following error when running mypy on this file.

```
Module "sentry.utils.performance_issues.detectors" does not explicitly export attribute "FileIOMainThreadDetector"
```
  • Loading branch information
mrduncan authored Jan 31, 2025
1 parent 3c73fc1 commit bb3eec3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/benchmark_detectors
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ configure()
import time
import sentry_sdk
from sentry.testutils.performance_issues.event_generators import get_event # noqa: S007
from sentry.utils.performance_issues.detectors import FileIOMainThreadDetector
from sentry.utils.performance_issues.detectors.io_main_thread_detector import (
FileIOMainThreadDetector,
)
from sentry.utils.performance_issues.performance_detection import (
get_detection_settings,
run_detector_on_data,
Expand Down

0 comments on commit bb3eec3

Please sign in to comment.