Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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`

Closed
#70 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 3 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python
Domain
backend

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

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from temporalio/skill-temporal-developer

All issues in temporalio/skill-temporal-developer

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.