From faaf78a4501fea896f8688f6b7d90813f5af53aa Mon Sep 17 00:00:00 2001 From: Marcin Rudolf Date: Tue, 28 May 2024 08:07:19 +0200 Subject: [PATCH] ignores types on sqlalchemy 1.4 --- .../website/docs/dlt-ecosystem/verified-sources/sql_database.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/website/docs/dlt-ecosystem/verified-sources/sql_database.md b/docs/website/docs/dlt-ecosystem/verified-sources/sql_database.md index 1891157b4a..4a80de1bdf 100644 --- a/docs/website/docs/dlt-ecosystem/verified-sources/sql_database.md +++ b/docs/website/docs/dlt-ecosystem/verified-sources/sql_database.md @@ -179,7 +179,7 @@ pipeline = dlt.pipeline( def _double_as_decimal_adapter(table: sa.Table) -> None: """Return double as double, not decimals, this is mysql thing""" for column in table.columns.values(): - if isinstance(column.type, sa.Double): + if isinstance(column.type, sa.Double): # type: ignore column.type.asdecimal = False sql_alchemy_source = sql_database(