general: move assert_never to my.core.compat as it's in stdlib from 3.11
rely on typing-extensions for fallback introducing typing-extensions dependency without fallback, should be ok since it's in the top 10 of popular packages
This commit is contained in:
parent
1317914bff
commit
a7439c7846
10 changed files with 36 additions and 16 deletions
|
@ -10,8 +10,9 @@ from pathlib import Path
|
|||
import sqlite3
|
||||
from typing import Iterator, Sequence, Optional, Dict, Union, List
|
||||
|
||||
from my.core import get_files, Paths, datetime_aware, Res, assert_never, LazyLogger, make_config
|
||||
from my.core import get_files, Paths, datetime_aware, Res, LazyLogger, make_config
|
||||
from my.core.common import unique_everseen
|
||||
from my.core.compat import assert_never
|
||||
from my.core.error import echain
|
||||
from my.core.sqlite import sqlite_connection
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue