Describe the bug
Plugin crashes and does not allow Pycharm to analyze the file when instantiating generic model with None generic param
To Reproduce
from typing import Generic, TypeVar
from pydantic.generics import GenericModel
T = TypeVar("T")
class G(GenericModel, Generic[T]):
value: T
class ConcreteModel1(G[type[None]]):
pass
#ConcreteModel1(field=None)
Uncomment last line and the plugin will crash
Environments (please complete the following information):
Additional context
</details>
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