aio-libs / aio-libs/aiohttp-security
Why has_permission decorator is being deprecated ?
Offen
- Vorherrschende Sprache
- Python
- Sterne
- 240
- Forks
- 70
- Ø Merge
- 10 Min.
- Gemergte PRs (30 T.)
- 3
Beschreibung
Checking on the code, the decorator `has_permission` option is being deprecated in favor of `check_permission` which has no decorator option. Why?
My best guess is is that it should not be the responsibility of the package to implement such feature, but I could not find the documented reason.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.