windmill-labs / windmill-labs/windmill
bug: Workflow-as-Code Python template didn't be recognized as "wac" auto kind
Open
@rubenfiszel is already working on this.
Since Apr 27, 2026.
bug
- Dominant language
- Rust
- Stars
- 18k
- Forks
- 1.1k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 328
Description
Describe the bug
The workflow-as-code Python template didn't be recognized correctly and have no "was" label on table rows. Also checked the rows in script table, the auto_kind is NULL value.
To reproduce
- Create a workflow-as-code with python
- Click "deploy" directly
- The home script didn't include correct "wac" label
Expected behavior
It should be recognized as workflow-as-code with "wac" label showing.
Screenshots
The Python template shows as normal script, while TS one has label of "wac"
Browser information
No response
Application version
No response
Additional Context
If change the main function to other (such as test) and it will show correct label:
# ... all other same as Python template
@workflow
async def test(x: str):
# ...
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.
Assessment
This issue has not been assessed yet.