fix(eav): update ClassVar type hint for Python 3.8 compatibility

This commit is contained in:
Mike 2024-09-01 08:50:23 -07:00
parent e52e0e175b
commit 88b078ad60

View file

@ -13,7 +13,7 @@ from eav.models import Attribute, EnumGroup, EnumValue, Value
_FIELDSET_TYPE = List[Union[str, Dict[str, Any]]] # type: ignore[misc]
some_attribute = ClassVar[dict[str, str]]
some_attribute = ClassVar[Dict[str, str]]
class BaseEntityAdmin(ModelAdmin):