From ebf9b5bcb6b4e68058a32818bcdf9942720b7599 Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Mon, 5 Dec 2022 15:15:45 +0100 Subject: [PATCH] Update returns --- fiable_db.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fiable_db.py b/fiable_db.py index c5820fb..bf35828 100644 --- a/fiable_db.py +++ b/fiable_db.py @@ -19,8 +19,8 @@ class TypeData(TypedDict): Type_Data_List = Tuple[TypeData] Type_Add_Data = Union[Dict, Sequence[Dict]] Type_Add_Return = Union[Tuple[int, int, Dict], Tuple[Tuple[int, int, Dict]], None] -Type_Update_Return = Union[Tuple[Tuple[int, int, Dict]]] -Type_Delete_Return = Union[Tuple[Tuple[int, int, Dict]]] +Type_Update_Return = Union[Tuple[Tuple[int, int, Dict]], None] +Type_Delete_Return = Union[Tuple[Tuple[int, int, Dict]], None] Type_Find_One_Return = TypeData Type_Find_All_Return = Tuple[Type_Find_One_Return]