-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Python Drivers
-
None
-
None
-
None
-
None
-
None
-
None
The _RetryPolicy, _backoff, _BACKOFF_INITIAL, _BACKOFF_MAX classes/methods/constants in pymongo/asynchronous/helpers.py can all be lifted into pymongo/helpers_shared.py. A direct lift will cause an import cycle due to MAX_ADAPTIVE_RETRIES being imported from pymongo/common.py, so either a lazy or local import is needed.