Produces invalid Python code: `module 'temporalio.workflow' has no attribute 'RetryPolicy'`
Maintainers usually reply within 3 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 52/100
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.
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
- Dominant language
- No language data
- Stars
- 230
- Forks
- 31
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 22
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from temporalio/skill-temporal-developer
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
temporalio/skill-temporal-developer#109 · 1 comment ·
Maintainers usually reply within 3 days
-
Improve Go Saga PatternPossibly taken @brianstrauch claimed this 14 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
temporalio/skill-temporal-developer#68 ·
Maintainers usually reply within 3 days
-
Add tracing to observabilityPossibly taken @patbeqo claimed this 14 days ago. Open
Difficulty 5/5 Over a week Newbie friendliness 35/100
temporalio/skill-temporal-developer#63 · 1 assignee ·
Maintainers usually reply within 3 days
-
Add generalized metrics supportPossibly taken @patbeqo claimed this 14 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 48/100
temporalio/skill-temporal-developer#62 · 1 assignee ·
Maintainers usually reply within 3 days
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
temporalio/skill-temporal-developer#54 ·
Maintainers usually reply within 3 days
All issues in temporalio/skill-temporal-developer
Similar issues
-
unbounded value for n in `/v1/logs` can panic/OOMPossibly taken A pull request linked to this issue is open or already merged. Opensmall item
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
canonical/pebble#1127 · 2 comments ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
AOSSIE-Org/Gitcord-GithubDiscordBot#147 · 1 comment ·
Maintainers usually reply within 1 day
-
`RedisList.reversed()` view returns an empty `range` and `trim` removes all elementsPossibly taken @CCCLL claimed this today. Openstatus: waiting-for-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
spring-projects/spring-data-redis#3461 ·
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
huggingface/transformers#49556 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day