Closed Jaymon closed 3 years ago
I think I should support both fset=... and fsetter=... syntax, right now just fset=... works.
fset=...
fsetter=...
so these would be equivalent:
foo = Field(str, True, fset=lambda self, v: v.upper()) foo = Field(str, True, fsetter=lambda self, v: v.upper())
This would need to apply to all the things (eg, fset, fget, and iget)
fset
fget
iget
I'm going to keep it similar to the property interface and with the new ways to customize the fields I don't think this is needed.
property
I think I should support both
fset=...
andfsetter=...
syntax, right now justfset=...
works.so these would be equivalent:
This would need to apply to all the things (eg,
fset
,fget
, andiget
)