Closed hgenru closed 9 years ago
Yes, I know, I already planned that in #22 :) - also because some other features are unavailable without descriptors.
Nice. Have any thoughts about this? I can implement this feature, but it would be good to first agree on.
Can be implemented the desired behavior through us __setattr__
. Maybe it will be even easier.
@hgenru - let me do it myself, there are some changes in inner API that are required for change and I have already view for that. I'll try to deliver that asap.
Ok. I wanted to use your library in my one project. And this functionality is extremely necessary to me. While I will use what is.
If you need help - call me.
@hgenru - ok, your help is much appriciated :) please see #44
prerequisites: Now the model can be put invalid data. And we find out about it only after a full validation of the model. And the model would essentially be broken.
solution: Use data descriptor and prevent placement in the model invalid data.