Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

Commit

Permalink
fix: remove typing to fix mypy error
Browse files Browse the repository at this point in the history
  • Loading branch information
trgiangdo committed Nov 10, 2023
1 parent e142305 commit da5e7b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/taipy/core/data/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit da5e7b8

Please sign in to comment.