Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update on setattr #287

Merged
merged 1 commit into from
Sep 17, 2022
Merged

feat: update on setattr #287

merged 1 commit into from
Sep 17, 2022

Conversation

andrewthetechie
Copy link
Owner

#279 BREAKING CHANGE: This is a breaking change to how updates for model attributes are saved to Redis. It removes the update classmethod and replaces with with a save method on each model.

Additionally, if _auto_sync is set to true on a model (the default), it will save to redis on any attribute change

#279
BREAKING CHANGE: This is a breaking change to how updates for model
attributes are saved to Redis. It removes the update classmethod and
replaces with with a save method on each model.

Additionally, if _auto_sync is set to true on a model (the default), it
will save to redis on any attribute change
@andrewthetechie andrewthetechie merged commit f1ce5c2 into main Sep 17, 2022
@andrewthetechie andrewthetechie deleted the validate-on-update branch September 17, 2022 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update operation allows insertion of Redis entries for keys not in the model
1 participant