-
-
Notifications
You must be signed in to change notification settings - Fork 298
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
update/updsert will delete keys in row? #53
Comments
Thanks for reporting this, it'll be in the next release. |
Thanks for the quick hands. clean_row = row.copy()
for key in keys:
if key in clean_row.keys():
del clean_row[key] Just a suggestion, totally up to you, thanks. |
Changed it accordingly, thanks for the pointer. |
Actually, I mean Thanks, |
hi folks,
I just found that in https://github.com/pudo/dataset/blob/master/dataset/persistence/table.py#L128
we actually delete keys in the row, e.g.
is there anyway to avoid this?
i mean keeping
c
unchanged after calling update/upsert.Thanks.
The text was updated successfully, but these errors were encountered: