Skip to content

Commit 85d7111

Browse files
aclark4lifeCopilot
andauthored
Update django_mongodb_backend/base.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent c65bcef commit 85d7111

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

django_mongodb_backend/base.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,9 @@ def cursor(self):
278278

279279
def get_database_version(self):
280280
"""Return a tuple of the database's version."""
281-
# TODO: Replace with `tuple(self.connection.server_info()["versionArray"])` once
282-
# pymongocrypt >= 1.14.2 is required and PYTHON-5429 is resolved.
281+
# TODO: Remove this workaround and replace with
282+
# `tuple(self.connection.server_info()["versionArray"])` when the minimum
283+
# supported version of pymongocrypt is >= 1.14.2 and PYTHON-5429 is resolved.
283284
# See: https://jira.mongodb.org/browse/PYTHON-5429
284285
return tuple(self.connection.admin.command("buildInfo")["versionArray"])
285286

0 commit comments

Comments
 (0)