Abacn commented on code in PR #36949:
URL: https://github.com/apache/beam/pull/36949#discussion_r2578195727


##########
sdks/python/apache_beam/io/mongodbio.py:
##########
@@ -262,6 +265,10 @@ def __init__(
     self.projection = projection
     self.spec = extra_client_params
     self.bucket_auto = bucket_auto
+    self.client = MongoClient(
+      self.uri,
+      **self.spec,
+      driver=DriverInfo("Apache Beam", metadata.version("apache-beam")))

Review Comment:
   we can use apache_beam.__version__
   
   
https://github.com/apache/beam/blob/master/sdks/python/apache_beam/__init__.py#L106



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to