[API] Simplify signature of `def step` return type into `[StepResult]`
Open
@spaingnv is already working on this.
Since Sep 11, 2026.
Priority-P2
Type-clean up
- Dominant language
- Python
- Stars
- 502
- Forks
- 58
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 57
Description
[API] Simplify signature of def step return type into [StepResult]
Justification: Return type currently is StepResult | None | [StepResult]. This is redundant since we can capture all of the types via a single [StepResult].
Due to current design we may hit quite significant design inconsistencies and odd linter errors...
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.