From 4246f03e978628dd6cb6e5d1a293479ef43b7729 Mon Sep 17 00:00:00 2001 From: Hannah Hunter Date: Wed, 21 Jun 2023 16:42:22 -0400 Subject: [PATCH] remove python example per bernd Signed-off-by: Hannah Hunter --- .../building-blocks/pubsub/pubsub-cloudevents.md | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-cloudevents.md b/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-cloudevents.md index ad55db332..1aac61ec6 100644 --- a/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-cloudevents.md +++ b/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-cloudevents.md @@ -96,21 +96,7 @@ For example, to override the applicable values from [the first CloudEvent exampl } ``` -`cloudevent-id` should be specified in the publish metadata request, not the payload. For example: - -{{< tabs Python >}} - -{{% codetab %}} - - -```python -resp = d.publish_event( - pubsub_name='pubsub', - topic_name='TOPIC_A', - data=json.dumps(req_data), - publish_metadata={'cloudevent-id': '5929aaac-a5e2-4ca1-859c-edfe73f11565'} -) -``` +`cloudevent-id` should be specified in the publish metadata request, not the payload. {{% /codetab %}}