samples-python
samples-python copied to clipboard
restruct sentry proj
The code in /sentry currently does not run.
Cannot access http.client.IncompleteRead.__mro_entries__ from inside a workflow. If this is code from a module not used in a workflow or known to only be us
ed deterministically from a workflow, mark the import as pass through.
Separating the workflow code into its own file resolves the issue
What was changed
Moved greetings workflow to workflows.py and import workflow within worker
Why?
So others can reference this sample and have no issue running it without alterations being made
Checklist
-
Closes
-
How was this tested:
Followed run instructions in README.md. Outputs:
cmd: poetry run python starter.py
output: Workflow result: Hello, World!
- Any docs updates needed?
No