We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8a7830 commit 4e2e51bCopy full SHA for 4e2e51b
psqlextra/manager/manager.py
@@ -323,7 +323,10 @@ def bulk_upsert(
323
A list of either the dicts of the rows upserted, including the pk or
324
the models of the rows upserted
325
"""
326
- def is_empty(r): return all([False for _ in r])
+
327
+ def is_empty(r):
328
+ return all([False for _ in r])
329
330
if not rows or is_empty(rows):
331
return []
332
setup.py
@@ -36,7 +36,7 @@ def run(self):
36
37
setup(
38
name="django-postgres-extra",
39
- version="2.0",
+ version="1.21a18",
40
packages=find_packages(),
41
include_package_data=True,
42
license="MIT License",
0 commit comments