Skip to content

Commit 77b0272

Browse files
author
Maksim Latysh
committed
Fixed two bugs
1 parent 2c64e91 commit 77b0272

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
@@ -1765,7 +1765,7 @@ def adapt( # type: ignore
17651765
kw["_disable_warnings"] = True
17661766
return super().adapt(impltype, **kw)
17671767

1768-
def _should_create_constraint(self, compiler: Compiled, kw: Any) -> bool:
1768+
def _should_create_constraint(self, compiler: Compiled, **kw: Any) -> bool:
17691769
if not self._is_impl_for_variant(compiler.dialect, kw):
17701770
return False
17711771
return (
@@ -1909,7 +1909,7 @@ def bind_processor(
19091909
self, dialect: Dialect
19101910
) -> Optional[_BindProcessorType[_T]]:
19111911
impl_processor = self.impl_instance.bind_processor(dialect)
1912-
dumps = self.pickler.dusmps
1912+
dumps = self.pickler.dumps
19131913
protocol = self.protocol
19141914
if impl_processor:
19151915
fixed_impl_processor = impl_processor

0 commit comments

Comments
 (0)