-
Notifications
You must be signed in to change notification settings - Fork 89
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
feat: Form.expected_from_buffers
for names/dtypes ak.from_buffers
needs.
#2660
Conversation
Codecov Report
Additional details and impacted files
|
This looks pretty good! I'm not yet sure whether we want this logic to be implemented by the
As such, we should probably have a top-level routine that handles I'm also thinking about whether I can make these changes — at this stage it's just musings. |
This kind of functionality should be level-2: public but not widely advertised. I don't think it should be a high-level It could be a free function in the ak.forms.expected_from_buffers(some_form) would accomplish that as well as some_form.expected_from_buffers I'm not actually in favor of the following, but just to consider all options: ak.from_buffers.expected(some_form) |
There're probably too many constraints here to make everything work. I've changed my mind; although |
@jpivarski could you OK (nOK) my counter edits? |
Form.expected_from_buffers
for names/dtypes ak.from_buffers
needs.
Okay! |
Requested by @danielballan in bluesky/tiled#549 (comment).