Commit acbb9d4
fix(tracing): satisfy ruff and pyright on obs_ids imports
CI lint has been red on `next` since c67e177 added this file:
- ruff I001: typing import block not sorted per the repo's isort config
- pyright reportPrivateImportUsage: `tracer` is not re-exported from
`ddtrace`, so it must be imported from `ddtrace.trace`
The `except ImportError` guard still covers ddtrace being absent, and
`ddtrace.trace.tracer` exists in the pinned ddtrace 4.10.1.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent da3b575 commit acbb9d4
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
0 commit comments