derrickaw commented on code in PR #38376:
URL: https://github.com/apache/beam/pull/38376#discussion_r3288656461
##########
sdks/python/apache_beam/yaml/yaml_io.py:
##########
@@ -723,3 +717,50 @@ def write_to_tfrecord(
num_shards=num_shards,
shard_name_template=shard_name_template,
compression_type=getattr(CompressionTypes, compression_type))
+
+
[email protected]_fn
+@yaml_errors.maybe_with_exception_handling_transform_fn
+def write_to_mongodb(
+ pcoll,
+ *,
+ database: str,
+ collection: str,
+ connection_uri: str = "mongodb://localhost:27017",
Review Comment:
Fair point. Removed. Thanks.
--
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]