Skip to content

Commit 8a87483

Browse files
Update tutorials/workflow/python/challenges-tips/payload_size_workflow.py
Co-authored-by: Alice Gibbons <[email protected]> Signed-off-by: Marc Duiker <[email protected]>
1 parent c71f2dc commit 8a87483

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/workflow/python/challenges-tips/payload_size_workflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def large_payload_size_workflow(ctx: wf.DaprWorkflowContext, doc_id: str):
2020
def small_payload_size_workflow(ctx: wf.DaprWorkflowContext, doc_id: str):
2121
"""
2222
Do pass small payloads between activities, preferably IDs only, or objects that are quick to (de)serialize in large volumes.
23-
Combine multiple actions, such as document retrieval and update, into a single activity.
23+
Combine multiple actions, such as document retrieval and update, into a single activity, or use the Dapr State Store API to store more data.
2424
"""
2525
updated_doc_id = yield ctx.call_activity(get_and_update_document, input=doc_id)
2626

0 commit comments

Comments
 (0)