Commit efe1838
fix: resolve mypy type error in metrics push_to_gateway call
Narrow _REGISTRY type with an early return guard instead of assert
(which bandit flags as B101).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 88447e0 commit efe1838
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
104 | 107 | | |
105 | 108 | | |
106 | 109 | | |
| |||
0 commit comments