sdk-python icon indicating copy to clipboard operation
sdk-python copied to clipboard

Fix docstring for `workflow.defn`'s `dynamic` argument

Open scorphus opened this issue 8 months ago • 2 comments

What was changed

This CL fix the docstring for the dynamic argument of the workflow.defn function, replacing one occurrence of activity by workflow to better reflect the usage of such attribute. I assume that was leftover of some copy'n'paste.

Why?

workflow.defn is used to decorate a workflow class, not an activity.

Checklist

  1. Closes ✅ None

  2. How was this tested: ✅ No tests necessary, I guess.

  1. Any docs updates needed? ✅ All good here too.

Valeu pelo Temporal, turma! Ele faz miséria! <3

scorphus avatar Mar 17 '25 14:03 scorphus

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Mar 17 '25 14:03 CLAassistant

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Mar 17 '25 14:03 CLAassistant