-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
It would be nice to add human readable __repr__ to our monitoring event classes. This change would make it much easier to debug tests since we could immediately see a readable description instead of:
<pymongo.monitoring.ServerDescriptionChangedEvent object at 0x104f2d300>
Something like:
<pymongo.monitoring.ServerDescriptionChangedEvent localhost:27017 changed type from RSPrimary to Unknown>
- is related to
-
PYTHON-2136 Provide diagnostic information in ServerSelectionTimeoutError exception message
- Closed
- related to
-
PYTHON-2123 Reduce Client Time To Recovery On Topology Changes
- Closed
-
PYTHON-2199 Reduce race conditions in SDAM error handling
- Closed