티스토리 뷰

728x90

https://stackoverflow.com/questions/68770979/how-to-raise-an-http-400-in-a-model

 

How to raise an HTTP 400 in a model?

My route: @router.get('/check/{value}', status_code=200) def ranks_check(value: BasicInput = Depends()): """ Test endpoint """ return value My model:...

stackoverflow.com

 

728x90
댓글