FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Set start_values on model reload by dcbrandao · Pull Request #64 · google/python-spanner-orm · GitHub

Set start_values on model reload - #64

Merged
dcbrandao merged 1 commit into
masterfrom
reload
Mar 29, 2019
Merged

dcbrandao merged 1 commit into
masterfrom
reload

Conversation

Copy link
Copy Markdown
Contributor

Since we're completely resetting the state of the model when we reload()
it, we also need to set start_values appropriately. We ran into an issue
where we were trying to roll back a change on an object, but the save()
didn't cause a write to happen because the start_values had not been
updated, so we thought there were no changes to commit

Since we're completely resetting the state of the model when we reload()
it, we also need to set start_values appropriately. We ran into an issue
where we were trying to roll back a change on an object, but the save()
didn't cause a write to happen because the start_values had not been
updated, so we thought there were no changes to commit
dcbrandao merged commit ea18503 into master Mar 29, 2019
dcbrandao deleted the reload branch March 29, 2019 16:21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL