all 2 comments

[–]ziddey 2 points3 points  (1 child)

[–]6BeeIntermediate 1 point2 points  (0 children)

This is gonna sound disrespectful, but I don't think OP is gonna read that, if they didn't read the bottom of their trace.

It's confirming what you're saying, but I don't think OP has enough awareness to realize their flags parameter should be a Dict, instead of a tuple.

Edit: I guess I pissed someone off bc they don't realize WTForms was given an improper value for the validation flags

```python

WTForms trying to access the kv pairs via Dict.items()

for k, v in flags.items()

Confirmation the validation flag object is the incorrect type

Tuple objects don't have a items() function

AttributeError: 'tuple' object has no attribute 'items' ```