def __init__(self, cls: type[_T], version: _VersionSpec | None = None) -> None:
        """Set the data fields, basic constructor."""
        self.version = version
        self.cls = cls
Set the data fields, basic constructor.
ext/django_stubs_ext/patch.py