Skip to content

Commit 3527fe6

Browse files
committed
Fix typing
1 parent 538ab4e commit 3527fe6

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

databasez/core.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
from sqlalchemy import text
1212
from sqlalchemy.sql import ClauseElement
13-
from sqlalchemy.util._concurrency_py3k import greenlet_spawn
1413

1514
from databasez.importer import import_from_string
1615
from databasez.interfaces import DatabaseBackend, Record, TransactionBackend
@@ -435,7 +434,7 @@ def _build_query(
435434

436435
return query.bindparams(**values) if values is not None else query
437436
elif values:
438-
return query.values(**values)
437+
return query.values(**values) # type: ignore
439438

440439
return query
441440

tests/test_databases.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import decimal
44
import functools
55
import gc
6-
import itertools
76
import os
87
from typing import MutableMapping
98
from unittest.mock import MagicMock, patch

0 commit comments

Comments
 (0)