Skip to content

Commit 5f42581

Browse files
committed
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 7aff564 commit 5f42581

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

splitgraph/ingestion/singer/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import logging
22
import traceback
3-
from collections import Callable
3+
from typing import Callable
44
from functools import wraps
55
from typing import Any, Dict, Optional
66

0 commit comments

Comments
 (0)