From da5e7b8a5cbb7fba5997adeb2286204960c2608f Mon Sep 17 00:00:00 2001 From: trgiangdo Date: Fri, 10 Nov 2023 22:55:53 +0700 Subject: [PATCH] fix: remove typing to fix mypy error --- src/taipy/core/data/sql.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/taipy/core/data/sql.py b/src/taipy/core/data/sql.py index b20e7467..a2267b35 100644 --- a/src/taipy/core/data/sql.py +++ b/src/taipy/core/data/sql.py @@ -138,8 +138,8 @@ def _do_write(self, data, engine, connection) -> None: queries = self.properties.get(self._WRITE_QUERY_BUILDER_KEY)(data) self.__execute_queries(queries, connection) - def __execute_queries(self, queries: List[str], connection) -> None: - if not isinstance(queries, list): + def __execute_queries(self, queries, connection) -> None: + if not isinstance(queries, List): queries = [queries] for query in queries: if isinstance(query, str):