Closed privatwolke closed 2 months ago
Hi!
Could you please rebase it on current develop branch?
@abondar done
Sorry, there were some changes to changelog, could you rebase one more time and move your changelog to 0.21.0 section?
@abondar should be good now
black --check tortoise/ examples/ tests/ conftest.py || (echo "Please run 'make style' to auto-fix style issues" && false)
would reformat /home/runner/work/tortoise-orm/tortoise-orm/tests/test_update.py
would reformat /home/runner/work/tortoise-orm/tortoise-orm/tortoise/queryset.py
Oh no! 💥 💔 💥
2 files would be reformatted, 246 files would be left unchanged.
Please use make style
and check it with make lint
to ensure style
@abondar fixed up codestyle ✨
Totals | |
---|---|
Change from base Build 8865405243: | 0.0% |
Covered Lines: | 5771 |
Relevant Lines: | 6467 |
Description
bulk_update
feature doesn't properly serialize values from custom fields.BulkUpdateQuery
.Motivation and Context
This change allows
bulk_update
usage also with models that use custom fields.How Has This Been Tested?
A test has been added which fails on the latest state of the develop branch. After applying the changes from this PR, the test passes as expected.
Checklist: