You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IsListOrTuple.of(constraint)
IsListOrTuple(of=constraint)
IsListOrTuple(constraint, ...) # literally `...`, similar to type hints like `Tuple[int, ...]`
I came across a situation when I need to assert that all of dicts in a list have a certain key/value pair, eg
Is there currently any way to achieve this? I could only come up with this
but it seems too dirty 🥲
The text was updated successfully, but these errors were encountered: