Consider storings 'parameters' on objects, including algorithms and projects #1983
jgostick
started this conversation in
Development
Replies: 1 comment
-
The new Base class will allow for a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It might be handy to have a
parameters
attr on all objects to store constant things. This could be really neat if a 'search' is conducted upstream on higher objects if the value is not found on self, like:alg.parameters['j0'] -> project.parameter['j0']
This would allow globals constants to be defined, but also enable over-riding if necessary.
On the other hand, this does add some 'behind the scenes' magic which tends to be confusing.
Beta Was this translation helpful? Give feedback.
All reactions