-
-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make it easy to suppress linked stream parameters #1437
Comments
This should be easy to implement. The only thing is setting to |
You could do |
Good idea! |
Has this been documented? If so I'll close this. |
I can put a stub in one of the user guides but it isn't documented currently anywhere else. |
I've added a paragraph about this feature to the correspond user guide in #1537. Closing. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Currently, when a linked stream has lots of stream parameters, the user is forced to handle them somehow, even if it means dumping extra arguments into
**kwargs
in their callback.Instead of forcing users to use
**kwargs
for stream values they aren't interested in, it might be nice to allow explicit suppression of these parameters. Here is one suggestion I think is reasonable:The way this could work would be to set the parameter precedences on the stream so they get ignored before passing the values to the callback. Using rename for this purpose overloads this method slightly but I think the semantics are reasonable and it makes more sense than introducing another method.
Note that in theory this could be used to remove
PointerX
andPointerY
(and just havePointerXY
) but I think having those is still a nice convenience.The text was updated successfully, but these errors were encountered: