enh: Make Narwhals pluggable #3018
Replies: 3 comments 23 replies
-
@dangotbanned regarding MarcoGorelli/narwhals-daft#9 (comment) , could spell out your suggestion in terms of how it would change #2978 please? |
Beta Was this translation helpful? Give feedback.
-
thank you for the ideas & discussion @dangotbanned! To understand better I need to see it implemented & play with things, so that's what I'll do next. I might branch off with Dan's suggestions and continue on the I'll drop questions/comments as I go here. |
Beta Was this translation helpful? Give feedback.
-
How do plugins change backwards-compatibility?This is a very broad and open-ended question 😄 Feel free to explore however seems appropriate, but to help I'll give two examples of the kind of issues I'm thinking about Internal ExampleWe have a PR in progress which will add an optional
Adding a new optional argument with a default allows us to maintain backwards compatibility in External Example
Despite this, there still seems to be regular breaking changes for downstream extenders like Is there anything we can learn from this case? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In theory, Narwhals is extensible. In practice, it's not clear what the rules are around that, nor how to test extensions
#2978 starts the plugin system, and https://github.com/MarcoGorelli/narwhals-daft will be meant to serve as a reference implementation
Beta Was this translation helpful? Give feedback.
All reactions