indigo-dc / flaat

FLAsk with Access Tokens - FLAAT
MIT License
11 stars 6 forks source link

WIP: Fix 48 #50

Closed marcvs closed 2 years ago

marcvs commented 2 years ago

Addresses #48 :

Handle matching in case value is not a list.

Yet, the test fails, even though only one email of two email addresses needs to match

marcvs commented 2 years ago

@lburgey: Before I remove all references to OneOf, I thought you'd better have a say on this ;)

lburgey commented 2 years ago

@lburgey: Before I remove all references to OneOf, I thought you'd better have a say on this ;)

I think you can remove it, so go ahead

dianagudu commented 2 years ago

I'd suggest to keep OneOf and simply subclass from N_Of with n=1. Not just because I use it in motley_cue :), but I'd imagine it's a common use case, and then it's just nice to have a shorthand.

marcvs commented 2 years ago

ok