Describe the bug
The pydantic inspection thinks that a model class has no mro()
method. That's wrong:
from pydantic import BaseModel
class MyModel(BaseModel): ...
def test_():
assert MyModel.mro() == [MyModel, BaseModel, object]
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Do not show the false positive warning.
Screenshots
Environments (please complete the following information):
Additional context
Add any other context about the problem here.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too