Produces invalid Python code: `TypeError: execute_activity() takes from 1 to 2 positional arguments but 3 positional arguments (and 1 keyword-only argument) were given`
Maintainers usually reply within 3 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
Research direction
Start by reproducing the /temporal-developer request and inspect the generated multi-step workflow in the python/ directory, especially the workflow.execute_activity call shown in the issue. Confirm the example is valid Python and that its activity invocation matches the supported arguments, then rerun the workflow example to verify the error is gone.
Written by the indexing model from the issue text.
Description
Bad code:
await workflow.execute_activity(
send_confirmation_email,
order,
tracking_number,
start_to_close_timeout=timedelta(seconds=30),
)
Try to repro with:
/temporal-developer make an example temporal 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, in a directory at python/
- 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 13 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 13 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 13 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
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
stripe/stripe-ruby#1994 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
KalicoCrew/kalico#1012 ·
Maintainers usually reply within 1 day
-
[Fehler]: /abdeckstift wirft 500 — part_type aus der Phonemreduction-Umbenennung nicht mitgezogenOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
wort-schule/wort.schule#787 ·
-
A numeric literal is parsed in the host's culture, so 1.5 is 15 in a made EXE on a comma-decimal OSOpenbug interpreter silently-wrong small
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day