remove python example per bernd

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>
This commit is contained in:
Hannah Hunter 2023-06-21 16:42:22 -04:00
parent 50180c4fd0
commit 4246f03e97
1 changed files with 1 additions and 15 deletions

View File

@ -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 %}}