Commit 84acf4e
fix: use correct TargetTags.positive_only field for sklearn 1.7 compatibility
sklearn 1.7 added __slots__ to tags dataclasses, making arbitrary attribute
assignment raise AttributeError. Replace required_positive (non-existent field)
with positive_only (correct field in sklearn 1.6 and 1.7).
Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>1 parent 8235a6c commit 84acf4e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1035 | 1035 | | |
1036 | 1036 | | |
1037 | 1037 | | |
1038 | | - | |
| 1038 | + | |
1039 | 1039 | | |
1040 | 1040 | | |
1041 | 1041 | | |
| |||
0 commit comments