aio-libs / aio-libs/aiohttp-security

Why has_permission decorator is being deprecated ?

未关闭
#338 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
240
派生
70
平均合并
10 分钟
30 天内合并 PR
3

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。