general: switch to using native 3.8 versions for cached_property/Literal/Protocol instead of compat

This commit is contained in:
Dima Gerasimov 2023-05-16 01:01:48 +01:00
parent fe2c99f037
commit 0e9624e354
16 changed files with 29 additions and 98 deletions

View file

@ -4,10 +4,9 @@ type of shared models have a standardized interface
"""
from my.core import __NOT_HPI_MODULE__
from typing import Set, Iterator
from typing import Set, Iterator, Protocol
from itertools import chain
from my.core.compat import Protocol
from my.core import datetime_aware, Json