You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this will cause a a field that is passed into __init__() or modify() to be set into the class instance, but not persisted to the db. That way it can go through all the normal Field validation stuff like the normalize method if needs be, but it ultimately won't be a field in the db.
The text was updated successfully, but these errors were encountered:
I'm not sure this is the solution I would want to implement for this problem. It would involve a lot of refactoring since everything expects Field instances to be db fields and I'm not sure it's worth the hassle for something I don't that often and when I do do it I can usually solve it a different way
prom.config.Property - a field that doesn't get saved into the db
This would give a property full access to all the lifecycle methods so you could say pass in a value and then have that value set a different value that will get saved into the db, things like that.
this will cause a a field that is passed into
__init__()
ormodify()
to be set into the class instance, but not persisted to the db. That way it can go through all the normal Field validation stuff like the normalize method if needs be, but it ultimately won't be a field in the db.The text was updated successfully, but these errors were encountered: