temporalio / temporalio/skill-temporal-developer
Produces invalid Python code: `module 'temporalio.workflow' has no attribute 'RetryPolicy'`
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 220
- Forks
- 30
- Avg merge
- 22h 21m
- Merged PRs (30d)
- 14
Description
Produced this code:
await workflow.execute_activity(
charge_payment,
order,
start_to_close_timeout=timedelta(seconds=30),
retry_policy=workflow.RetryPolicy(
maximum_attempts=1, # Don't retry payment failures
),
)
Try to repro with:
make an example workflow which is a multi-step order processing workflow, and which may have business logic level failures at some of the later steps. Do it in Python.
Or with:
make an example workflow which is a multi-step order processing workflow, and which may have business logic level failures at some of the later steps. Do it in each of the 4 languages, in a directory for each
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Start by reproducing the Python multi-step order-processing workflow described in the issue and inspect where the generated retry policy is sourced. Done means the generated example uses an available API and no longer produces the reported AttributeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100