kalekundert / byoc

MIT License
0 stars 0 forks source link

Provide callback for when parameter value is accessed #1

Closed kalekundert closed 3 years ago

kalekundert commented 3 years ago
kalekundert commented 3 years ago

Having given this some more thought, I don't think it makes sense to provide a cast function for values set in python. The idea is that attribute assignment should work pretty much like normal, so concepts like cast and pick that make sense for parameters loaded from various configs don't make sense for parameters set in python. Note that I am still planning to add a callback for when a parameter gets loaded/set, see #4.