We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c65bcef commit 85d7111Copy full SHA for 85d7111
django_mongodb_backend/base.py
@@ -278,8 +278,9 @@ def cursor(self):
278
279
def get_database_version(self):
280
"""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.
+ # TODO: Remove this workaround and replace with
+ # `tuple(self.connection.server_info()["versionArray"])` when the minimum
283
+ # supported version of pymongocrypt is >= 1.14.2 and PYTHON-5429 is resolved.
284
# See: https://jira.mongodb.org/browse/PYTHON-5429
285
return tuple(self.connection.admin.command("buildInfo")["versionArray"])
286
0 commit comments