general: switch to using native 3.8 versions for cached_property/Literal/Protocol instead of compat
This commit is contained in:
parent
c34656e8fb
commit
fe88380499
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
|
||||
|
||||
|
||||
|
|
|
@ -3,13 +3,12 @@ from my.config import topcoder as config # type: ignore[attr-defined]
|
|||
|
||||
|
||||
from datetime import datetime
|
||||
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, Json
|
||||
from ..core.compat import cached_property
|
||||
from ..core.error import Res, unwrap
|
||||
from ..core.konsume import zoom, wrap, ignore
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue