Skip to content

Commit

Permalink
Import Callable from typing for Python 3.10 compat
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
onpaws authored and mildbyte committed Jul 19, 2022
1 parent 3dd905b commit ec4904c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions splitgraph/ingestion/singer/common.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import logging
import traceback
from collections import Callable
from functools import wraps
from typing import Any, Dict, Optional
from typing import Any, Callable, Dict, Optional

from psycopg2.sql import SQL, Identifier

Expand Down

0 comments on commit ec4904c

Please sign in to comment.