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
I have a items array, and then the problem is that _id is different, but the repr of price is not 79. Should this be supported?
E - 'items': [{'_id': '5f3dbd00fa942fcc2d1053bc',
E + 'items': [{'_id': ObjectId('629778b83406c5b07c9b0eb7'),
E - 'price': IsPositiveInt(),
E + 'price': 79,
The text was updated successfully, but these errors were encountered:
In the second case, == short-circuits the list comparison after seeing 3 != 1 so IsPositive.__eq__ never gets called. That seems mosty likely to be the problem in this issue as well.
I have a items array, and then the problem is that
_id
is different, but the repr ofprice
is not79
. Should this be supported?The text was updated successfully, but these errors were encountered: