Return wrapped_func in decorator
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 135
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
In the protected_callback decorator, it should be the same to just return the wrapped_func function instead of wrapping it inside of wrap.
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 at dash_auth/group_protection.py around line 209 and inspect protected_callback. Done means the decorator returns wrapped_func directly instead of wrapping it in wrap; use any repository checks available to confirm no regression.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- authentication
- Issue type
- Refactor
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100