Commit 1d0e5ce
authored
fix: Use consistent naming for reference type errors (#938)
When running a plan with invalid parameters, the error message would be
different depending on whether the required type was generic or not, eg
`<class 'bluesky.protocols.Readable'>` vs `bluesky.protocols.Movable[float]`
Fixes #9341 parent 46c39da commit 1d0e5ce
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
69 | 77 | | |
70 | 78 | | |
71 | 79 | | |
| |||
251 | 259 | | |
252 | 260 | | |
253 | 261 | | |
254 | | - | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
255 | 266 | | |
256 | 267 | | |
257 | 268 | | |
| |||
0 commit comments