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

After Asset metadata validation, update Version timestamp with single query #1373

Merged
merged 1 commit into from
Nov 21, 2022

Conversation

mvandenburgh
Copy link
Member

After validating asset metadata, instead of looping over every Version in Python and calling .save() to update the modified field, just directly update them with a single query.

@mvandenburgh mvandenburgh added patch Increment the patch version when merged release Create a release when this pr is merged and removed patch Increment the patch version when merged release Create a release when this pr is merged labels Nov 21, 2022
@mvandenburgh mvandenburgh merged commit 7bbf01d into master Nov 21, 2022
@mvandenburgh mvandenburgh deleted the efficient-modified-update branch November 21, 2022 17:21
@dandibot
Copy link
Member

🚀 PR was released in v0.3.2 🚀

@dandibot dandibot added the released This issue/pull request has been released. label Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants