Skip to content

Commit ec4904c

Browse files
onpawsmildbyte
authored andcommitted
Import Callable from typing for Python 3.10 compat
- Python 3.10 no longer provides Callable in collections - We now import it from typing, to be consistent with previous imports - See https://docs.python.org/3/whatsnew/3.10.html#pep-612-parameter-specification-variables
1 parent 3dd905b commit ec4904c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

splitgraph/ingestion/singer/common.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import logging
22
import traceback
3-
from collections import Callable
43
from functools import wraps
5-
from typing import Any, Dict, Optional
4+
from typing import Any, Callable, Dict, Optional
65

76
from psycopg2.sql import SQL, Identifier
87

0 commit comments

Comments
 (0)