From 1534301618170e768b2497d529935c4cfe41da3f Mon Sep 17 00:00:00 2001 From: "WQY\\qiong" Date: Sat, 12 Nov 2022 18:53:57 +0800 Subject: [PATCH] Relax type indicator --- api/operation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/operation.py b/api/operation.py index cf0293e..39d2f22 100644 --- a/api/operation.py +++ b/api/operation.py @@ -43,14 +43,14 @@ class ChangeSet: class SqlChangeSet: - def __init__(self, redo_sql: str, undo_sql: str, redo_cs: dict[str, str], undo_cs: dict[str, str]) -> None: + def __init__(self, redo_sql: str, undo_sql: str, redo_cs: dict[str, Any], undo_cs: dict[str, Any]) -> None: self.redo_sql = redo_sql self.undo_sql = undo_sql self.redo_cs = redo_cs self.undo_cs = undo_cs class BatchSqlChangeSet: - def __init__(self, redo_sql: str, undo_sql: str, redo_cs: list[dict[str, str]], undo_cs: list[dict[str, str]]) -> None: + def __init__(self, redo_sql: str, undo_sql: str, redo_cs: list[dict[str, Any]], undo_cs: list[dict[str, Any]]) -> None: self.redo_sql = redo_sql self.undo_sql = undo_sql self.redo_cs = redo_cs