-
Type: Improvement
-
Resolution: Works as Designed
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Python Drivers
Context
Every time I use mongo: URL for AWS Document DB cluster pymongo spits "UserWarning: You appear to be connected to a DocumentDB cluster..." I cannot find in any documentation how to disable that warning, although I believe it should be made possible.
# python -c "import sys; print(sys.version)"
3.12.4 | packaged by Anaconda, Inc. | (main, Jun 18 2024, 15:12:24) [GCC 11.2.0]
# python -c "import pymongo; print(pymongo.version); print(pymongo.has_c())"
4.8.0
True
# uname -a
Linux XXX 6.1.94-99.176.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jun 18 14:57:56 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Definition of done
The way to disable such warning should be documented.
- related to
-
PYTHON-3835 Log informational message client-side based on detected environment (DocumentDB or CosmosDB)
- Closed