-
Notifications
You must be signed in to change notification settings - Fork 76
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
awkward_form() context arg is not optional #614
Comments
Those arguments are required; they were consolidated into a Are you using this function? I had thought of it as an internal step in the process of executing If any of the To directly answer your question, the required argument is the explicit dict given in the docstring, though that's not a friendly user interface (wasn't intended to be...). |
Sounds good. We don't use that method directly, but it is used by coffea, e.g., here: I'll file an issue/pr with them. Thanks! |
PR #618 reverted the |
We use some other private methods near this one: |
I don't know of a reason to change those. The
The "fixing" and "removing Uproot parameters" functions don't have that problem. In fact, these two steps in the process are probably going to be removed: they take data generated by a slow Python crawl, call |
pr #611 consolidated most arguments to
awkward_form()
into a single dictionarycontext
. From the wording of the documentation:this seems to imply that context is optional, and that no other argument is required. If this is not the case, are callers of the function expected to provide
{}
,None
, or as above{"index_format": ...}
?From the current callers perspective that use the defaults, it would be easiest if context is optional, as no changes downstream would be needed.
(This issue became apparent with release 4.2.4.)
The text was updated successfully, but these errors were encountered: