Check at least one non-null content value within collection in a pydantic BaseModel?

前端 未结 0 530
走了就别回头了
走了就别回头了 2021-01-29 06:05

I want to validate that, a Response containing a list has, within the contents of that list, at least one non-null value.

So far, I\'ve come up with the following validat

相关标签:
回答
  • 消灭零回复
提交回复
热议问题