samples-python
samples-python copied to clipboard
Use workflow init from samples
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
-
Closes
-
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
- Any docs updates needed?