general: switch to using native 3.8 versions for cached_property/Literal/Protocol instead of compat
This commit is contained in:
parent
fe2c99f037
commit
0e9624e354
16 changed files with 29 additions and 98 deletions
|
@ -3,13 +3,12 @@ from my.config import codeforces as config # type: ignore[attr-defined]
|
|||
|
||||
|
||||
from datetime import datetime, timezone
|
||||
from typing import NamedTuple
|
||||
from functools import cached_property
|
||||
import json
|
||||
from typing import Dict, Iterator
|
||||
from typing import NamedTuple, Dict, Iterator
|
||||
|
||||
|
||||
from ..core import get_files, Res, unwrap
|
||||
from ..core.compat import cached_property
|
||||
from ..core.konsume import ignore, wrap
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue