langgenius/dify

dep inject model validate

开放

#36,659 创建于 2026年5月26日

 (10 条评论) (1 个反应) (0 位负责人)TypeScript (22,210 个派生)batch import
good first issue

仓库指标

星标
 (141,412 个星标)
PR 合并指标
 (平均合并 1天 21小时) (30 天内合并 579 个 PR)

描述

@dosu since we can dep inject the current user id, why dont we also inject the validated parameter?

like

...
@with_user
@validate(Query)
def post(self, args: Query, user: Account):
    ...

贡献者指南