Reducing / Removing model initializers #13887
Unanswered
bryevdv
asked this question in
Internals and design (Q&A)
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think if #13870 is possible, then all the empty model initializers used for "Init Signatures" can be removed. I think it would be good to try and reduce the number of initializers even more, or possibly remove them completely.
@mattpap there are a number of similar cases like this:
what would it take to be able to get rid of these? If you can outline the issue perhaps I can take a look.
The remaining cases seem mostly to be custom argument handling (e.g. conveniences like
Range1d(10, 20)
) which could probably be handled with a declarative declaration on the model about which properties can be supplied positionally.Beta Was this translation helpful? Give feedback.
All reactions