You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jhamman
changed the title
v3: consider using position only and keyword only arguments
[v3] consider using position only and keyword only arguments
Apr 5, 2024
My limited memory, @jhamman, is that for signatures with very long lists of arguments, maintaining the ordering of those lists becomes a burden and therefore one can make use of keyword only arguments -- https://peps.python.org/pep-3102/ -- to simplify things.
My first attempt at recreating the top level API for v3 definitely highlighted that this would be useful. I could use some input on #1884 deciding how best to introduce this.
As a side note we might consider using position only and keyword only arguments in Zarr 3 to avoid these issues around renaming arguments.
Originally posted by @jakirkham in #1018 (comment)
The text was updated successfully, but these errors were encountered: