Skip to content

Commit

Permalink
next alpha release
Browse files Browse the repository at this point in the history
  • Loading branch information
jerch committed Apr 10, 2022
1 parent c5227cb commit 16d1bb4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fast_update/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.0.3'
__version__ = '0.0.4'
1 change: 0 additions & 1 deletion fast_update/copy.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@


# TODO: typings, docs cleanup
# TODO: import guard in query.py
# TODO: document encoder interface


Expand Down
2 changes: 1 addition & 1 deletion fast_update/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from typing import Any, Dict, Optional, Sequence

from .fast import fast_update
from .copy import copy_update


def sanity_check(model, objs, fields, batch_size):
Expand Down Expand Up @@ -65,6 +64,7 @@ def copy_update(
if connection.vendor != 'postgresql':
raise NotSupportedError(
f'copy_update() is not supported on "{connection.vendor}" backend')
from .copy import copy_update
objs = tuple(objs)
fields = set(fields or [])
sanity_check(self.model, objs, fields, 123)
Expand Down

0 comments on commit 16d1bb4

Please sign in to comment.