Skip to content
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

Use workflow init from samples #143

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

drewhoskins-temporal
Copy link
Contributor

What was changed

Workflow Init is a brand new feature.
Let's show people best practices for each sample that uses a signal or update handler and receives workflow arguments.

Why?

These changes make sure these workflows are initialized before signal or update handlers are run.

Checklist

  1. Closes

  2. How was this tested:

Automated:
poetry run pytest workflow_test.py
Manual:
Follow instructions in
bedrock/entity/README.md
and
message_passing/safe_message_handlers/README.md

  1. Any docs updates needed?

@@ -17,7 +17,7 @@ packages = [

[tool.poetry.dependencies]
python = "^3.8"
temporalio = "^1.7.0"
temporalio = { path = "../sdk-python" }
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cannot be committed now. Needs to await the released Python SDK having Workflow Init support.

Copy link
Member

@cretz cretz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, holding approval until tagged release of SDK is made

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants