langgenius/dify

dep inject model validate

Aperta

#36.659 aperta il 26 mag 2026

 (10 commenti) (1 reazione) (0 assegnatari)TypeScript (22.210 fork)batch import
good first issue

Metriche repository

Star
 (141.412 stelle)
Metriche merge PR
 (Merge medio 1g 21h) (579 PR mergiate in 30 g)

Descrizione

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

Guida contributor