dapr / python-sdk

Dapr SDK for Python
Apache License 2.0
230 stars 128 forks source link

[WORKFLOW SDK BUG] get_workflow_state fetch_payloads option default mismatch #744

Open ajstewart opened 1 week ago

ajstewart commented 1 week ago

Expected Behavior

The docstring and option default do not match.

Obviously this is a very easy fix but I'm not sure what the intended behaviour is?

Actual Behavior

The docs say the fetch_payloads defaults to False yet it is set to True:

https://github.com/dapr/python-sdk/blob/0cd0482f62f30d8bc7b35793ade09b46f9fa33c5/ext/dapr-ext-workflow/dapr/ext/workflow/dapr_workflow_client.py#L108-L124

Steps to Reproduce the Problem

N/A

Release Note

RELEASE NOTE: