From 39ade36b6f07c24e22ce52b314ba7a0ff975d1d7 Mon Sep 17 00:00:00 2001 From: Noah Stapp Date: Wed, 15 Jan 2025 11:47:07 -0500 Subject: [PATCH] cleanup --- pymongo/__init__.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pymongo/__init__.py b/pymongo/__init__.py index 8b4f1fa50f..58f6ff338b 100644 --- a/pymongo/__init__.py +++ b/pymongo/__init__.py @@ -15,7 +15,6 @@ """Python driver for MongoDB.""" from __future__ import annotations -from concurrent.futures import ThreadPoolExecutor from typing import ContextManager, Optional __all__ = [ @@ -167,6 +166,3 @@ def timeout(seconds: Optional[float]) -> ContextManager[None]: if seconds is not None: seconds = float(seconds) return _csot._TimeoutContext(seconds) - - -_PYMONGO_EXECUTOR = ThreadPoolExecutor(thread_name_prefix="PYMONGO_EXECUTOR-")