-
Notifications
You must be signed in to change notification settings - Fork 82
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
ENH: pass the count parameter along, as already documented. #1137
Conversation
pv, | ||
timeout, | ||
connection_timeout, | ||
count, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a bit torn, on one hand adding new positionals in the middle is a source of latent bugs, but on the other hand all of the positionals are required so any usage is fully broken (TypeError: missing parameter
) rather than the subtle "all your inputs are shifted".
On net I think it is 👍🏻 , just set off alarms in my head.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thanks, @clintonroy!
Power-cycled the CI to check they still succeed against the latest version. |
Consider adding an option to the workflow to run the unit tests manually. |
There was a recent fix to the tests (#1167), I hope it will help resolve the failing runs after my rebase on |
The lowest layer of pv.get accepts a count, which specifies how many array values to return. This count argument was not percolated all the way up the api stack, but was documented.
I require this to be able to retrieve values from a data acquisition device that can have a very large array of results, and the default value (2048) is way too small.