Skip to content

[Feature Request] Add temporalio.workflow.in_workflow() call #415

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
cretz opened this issue Nov 6, 2023 · 1 comment · Fixed by #799
Closed

[Feature Request] Add temporalio.workflow.in_workflow() call #415

cretz opened this issue Nov 6, 2023 · 1 comment · Fixed by #799
Labels
enhancement New feature or request

Comments

@cretz
Copy link
Member

cretz commented Nov 6, 2023

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 cretz added the enhancement New feature or request label Nov 6, 2023
@cretz
Copy link
Member Author

cretz commented Mar 19, 2025

Arguably this doesn't have to be in "unsafe" because it is not unsafe technically, up to implementer

@cretz cretz changed the title [Feature Request] Add temporalio.workflow.unsafe.in_workflow() call [Feature Request] Add temporalio.workflow.in_workflow() call Mar 26, 2025
cretz added a commit to cretz/temporal-sdk-python that referenced this issue Mar 26, 2025
@cretz cretz closed this as completed in #799 Apr 7, 2025
@cretz cretz closed this as completed in dfc6e7f Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant