Skip to content

Commit

Permalink
fixed documentation in sdks/python/apache_beam/io/gcp/pubsub.py Write…
Browse files Browse the repository at this point in the history
…ToPubSub (apache#30285)

* fixed documentation in sdks/python/apache_beam/io/gcp/pubsub.py writetopubsub

* Update build.gradle - I accidentally removed a character in a previous commit

* Update pubsub.py

* fixed linting error
  • Loading branch information
DIvkov575 authored Feb 12, 2024
1 parent 371576a commit 47f7778
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sdks/python/apache_beam/io/gcp/pubsub.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,9 @@ def __init__(
"""Initializes ``WriteToPubSub``.
Args:
topic: Cloud Pub/Sub topic in the form "/topics/<project>/<topic>".
topic:
Cloud Pub/Sub topic in the form
"projects/<project>/topics/<topic>".
with_attributes:
True - input elements will be :class:`~PubsubMessage` objects.
False - input elements will be of type ``bytes`` (message
Expand Down

0 comments on commit 47f7778

Please sign in to comment.