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

[Feature Request] Add `temporalio.workflow.unsafe.in_workflow()` call

Open cretz opened this issue 1 year ago • 0 comments

Describe the solution you'd like

Similar to https://www.javadoc.io/static/io.temporal/temporal-sdk/1.22.2/io/temporal/workflow/unsafe/WorkflowUnsafe.html#isWorkflowThread() or https://typescript.temporal.io/api/namespaces/workflow#inworkflowcontext, but discourage its use of course.

cretz avatar Nov 06 '23 16:11 cretz