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
|
@ -2,11 +2,10 @@ from __future__ import annotations
|
|||
from .common import assert_subpackage; assert_subpackage(__name__)
|
||||
|
||||
from .common import PathIsh
|
||||
from .compat import Protocol
|
||||
from .sqlite import sqlite_connect_immutable
|
||||
|
||||
## sadly dataset doesn't have any type definitions
|
||||
from typing import Iterable, Iterator, Dict, Optional, Any
|
||||
from typing import Iterable, Iterator, Dict, Optional, Any, Protocol
|
||||
from contextlib import AbstractContextManager
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue