crossbario / crossbario/autobahn-python
Component decorators should check args
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Python
- Stars
- 2.5k
- Forks
- 768
- PR merge metrics
- No merged PRs in 30d
Description
The Component convenience decorators (Component.on_join et al) can (and should!) check that the functions they're given at least take the right number of args.
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 locating the Component convenience decorators, including Component.on_join, and inspect how they receive callback functions. Define the expected argument counts for these decorators and verify that incorrect callbacks are rejected; the work is done when the decorators consistently check their inputs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100