Skip to content

Conversation

abercromb
Copy link

No description provided.

@yudytskiy
Copy link

I would not recomend to remove each_item=True parameter from validators.
Just import Set and replace Sequence with Set:

-from typing import Optional, Union, Sequence, List
+from typing import Optional, Union, Sequence, List, Set
...
-     authjwt_token_location: Optional[Sequence[StrictStr]] = {'headers'}
+     authjwt_token_location: Optional[Set[StrictStr]] = {'headers'}
...
...

@ugolbck
Copy link

ugolbck commented Feb 20, 2024

Hi @IndominusByte could you please consider those changes? Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants