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):
    ...

貢獻者指南