temporalio / temporalio/skill-temporal-developer
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`
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 220
- Forks
- 30
- Avg merge
- 22h 21m
- Merged PRs (30d)
- 14
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/
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
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.
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
- 48/100