Commit 6c2eb53
ref: Define types at runtime (#2914)
Set types in sentry_sdk.types to None at runtime. This allows the types to be imported from outside if TYPE_CHECKING guards.
Fixes GH-2909
Co-authored-by: Anton Pirker <[email protected]>
Co-authored-by: anthony sottile <[email protected]>1 parent 790ee6a commit 6c2eb53
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
15 | 20 | | |
16 | | - | |
| 21 | + | |
0 commit comments