We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3ef455 commit 400536dCopy full SHA for 400536d
docs/pubsub/index.rst
@@ -63,7 +63,7 @@ messages to it
63
... project_id=os.getenv('GOOGLE_CLOUD_PROJECT'),
64
... topic='MY_TOPIC_NAME', # Set this to something appropriate.
65
... )
66
- >>> publisher.create_topic()
+ >>> publisher.create_topic(topic) # raises conflict if topic exists
67
>>> publisher.publish(topic, b'My first message!', spam='eggs')
68
69
To learn more, consult the :doc:`publishing documentation <publisher/index>`.
0 commit comments