dry-python / dry-python/returns
Find out how pydantic validates function calls without calling them
未关闭
bug
- 主要语言
- Python
- 星标
- 4.4k
- 派生
- 155
- 平均合并
- 2 小时 27 分钟
- 30 天内合并 PR
- 22
描述
We need to chec how `pydantic` validates function arguments without calling the function itself: https://pydantic-docs.helpmanual.io/usage/validation_decorator/#validate-without-calling-the-function
We need this because our `@curry` implementation relies on this logic. And right now it is very slow.
贡献指南
调研方向
阅读链接的 Pydantic 文档,了解无需调用函数即可进行验证的方法,然后检查 @curry 的实现及其当前的参数验证路径。确定验证如何避免报告的性能下降,并通过相关的现有测试或性能检查确认完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- performance
- Issue 类型
- 重构
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100