mirror of https://github.com/dapr/docs.git
commit
cc262532d5
|
@ -50,9 +50,7 @@ with DaprClient() as d:
|
|||
pubsub_name='pubsub',
|
||||
topic='TOPIC_A',
|
||||
data=json.dumps(req_data),
|
||||
metadata=(
|
||||
('rawPayload', 'true')
|
||||
)
|
||||
publish_metadata={'rawPayload': 'true'}
|
||||
)
|
||||
# Print the request
|
||||
print(req_data, flush=True)
|
||||
|
|
Loading…
Reference in New Issue