Commit 363c6e8
committed
ENH: Annotate
Annotate the `optimizer` attribute type in the DiffusionGPR GPR child
class.
Fixes:
```
src/nifreeze/model/gpr.py:234: error:
"DiffusionGPR" has no attribute "optimizer" [attr-defined]
```
raised for example in:
https://github.com/nipreps/nifreeze/actions/runs/12437972140/job/34728973936#step:8:82optimizer attribute type DiffusionGPR1 parent d364e62 commit 363c6e8
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| 156 | + | |
| 157 | + | |
156 | 158 | | |
157 | 159 | | |
158 | 160 | | |
| |||
0 commit comments