Closed savchenko closed 4 months ago
I ran into that as well - and add the ignore pragma. I don't plan on fighting mypy/pyright. From the application/users perspectice - it is a list of string - it shouldn't know about the ORM (since different ORMs are supported).
PyRight reports
reportIncompatibleVariableOverride
on the following:Which doesn't appear to be different from: https://github.com/Flask-Middleware/flask-security/blob/25ad68dd4168c4ce5ccd38d2a51ac58513f60b2f/flask_security/models/sqla.py#L87-L89
Full output:
Adding
# type: ignore[assignment]
silences the linter, but is this correct?