Skip to content

Commit 53c4e97

Browse files
aclark4lifeCopilot
andauthored
Update django_mongodb_backend/base.py
Co-authored-by: Copilot <[email protected]>
1 parent 2b368ff commit 53c4e97

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

django_mongodb_backend/base.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,9 @@ def get_database_version(self):
251251
"""Return a tuple of the database's version."""
252252
# This can use PyMongo's
253253
# `tuple(self.connection.server_info()["versionArray"])` on
254-
# pymongocrypt>=1.14.2. See: https://jira.mongodb.org/browse/PYTHON-5429
254+
# TODO: Replace with `tuple(self.connection.server_info()["versionArray"])` once
255+
# pymongocrypt >= 1.14.2 is required and PYTHON-5429 is resolved.
256+
# See: https://jira.mongodb.org/browse/PYTHON-5429
255257
return tuple(self.connection.admin.command("buildInfo")["versionArray"])
256258

257259
## Transaction API for django_mongodb_backend.transaction.atomic()

0 commit comments

Comments
 (0)