Skip to content

Commit c45e456

Browse files
author
Maksim Latysh
committed
Fixed two bugs
1 parent d270a32 commit c45e456

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/sqlalchemy/sql/sqltypes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1718,7 +1718,7 @@ def adapt( # type: ignore
17181718
kw["_disable_warnings"] = True
17191719
return super().adapt(impltype, **kw)
17201720

1721-
def _should_create_constraint(self, compiler: Compiled, kw: Any) -> bool:
1721+
def _should_create_constraint(self, compiler: Compiled, **kw: Any) -> bool:
17221722
if not self._is_impl_for_variant(compiler.dialect, kw):
17231723
return False
17241724
return (
@@ -1862,7 +1862,7 @@ def bind_processor(
18621862
self, dialect: Dialect
18631863
) -> Optional[_BindProcessorType[_T]]:
18641864
impl_processor = self.impl_instance.bind_processor(dialect)
1865-
dumps = self.pickler.dusmps
1865+
dumps = self.pickler.dumps
18661866
protocol = self.protocol
18671867
if impl_processor:
18681868
fixed_impl_processor = impl_processor

0 commit comments

Comments
 (0)