Closed woutdenolf closed 2 years ago
In
Flask < 2.2
class MethodView(View, metaclass=MethodViewType):
In
Flask >= 2.2
class MethodView(View): def __init_subclass__(cls, **kwargs: t.Any) -> None:
Thanks, you do save me a lot of time!
Same issue as.
related to https://github.com/pallets/flask/pull/4624
See: https://github.com/pallets/flask/commit/45174bf9a1e96e51ce589c7aa2c151249d1fdf11
In
Flask < 2.2
In
Flask >= 2.2