From 316f8d46d6860ac5c8b25e8c17e3b608b7001b6f Mon Sep 17 00:00:00 2001 From: Andy Lu Date: Fri, 11 Feb 2022 16:41:56 +0000 Subject: [PATCH] Update the client to use "standard" instead of "undefined" UUID representation --- tap_mongodb/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tap_mongodb/__init__.py b/tap_mongodb/__init__.py index 035dcb6..21d8b90 100644 --- a/tap_mongodb/__init__.py +++ b/tap_mongodb/__init__.py @@ -371,7 +371,7 @@ def main_impl(): if not verify_mode and use_ssl: connection_params["ssl_cert_reqs"] = ssl.CERT_NONE - client = pymongo.MongoClient(**connection_params) + client = pymongo.MongoClient(uuidRepresentation="standard", **connection_params) LOGGER.info('Connected to MongoDB host: %s, version: %s', config['host'],