narwhals
narwhals copied to clipboard
chore: Fix `IntoSchema` typing, allow to pass `Sequence[tuple[str, IntoDType]] | SupportsKeysAndGetItem[str, IntoDType]`
What type of PR is this? (check all applicable)
- [ ] 💾 Refactor
- [x] ✨ Feature
- [ ] 🐛 Bug Fix
- [ ] 🔧 Optimization
- [ ] 📝 Documentation
- [ ] ✅ Test
- [x] 🐳 Other
Related issues
- Closes #3257
Checklist
- [x] Code follows style guide (ruff)
- [x] Tests added
- [x] Documented the changes
If you have comments or can explain your changes, please do so below
Regarding CI failures: the only one related to this PR seem to be tubular 👀