From 31d71aa3369c8e6f4527905bf6601c7f6f309f42 Mon Sep 17 00:00:00 2001 From: NTGNguyen <23521049@gm.uit.edu.vn> Date: Fri, 27 Dec 2024 21:33:35 +0700 Subject: [PATCH] fix(get_data): correct plate_infos type from list to tuple --- src/check_phat_nguoi/modules/get_data/check_phat_nguoi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/check_phat_nguoi/modules/get_data/check_phat_nguoi.py b/src/check_phat_nguoi/modules/get_data/check_phat_nguoi.py index 7ecda96..40943ad 100644 --- a/src/check_phat_nguoi/modules/get_data/check_phat_nguoi.py +++ b/src/check_phat_nguoi/modules/get_data/check_phat_nguoi.py @@ -77,7 +77,7 @@ def _create_violation_model(data: Dict): @override async def get_data(self) -> list[PlateInfoModel]: await self._get_data() - plate_infos: list[PlateInfoModel] = tuple( + plate_infos: tuple[PlateInfoModel] = tuple( PlateInfoModel( plate=plate_info_object.plate, owner=plate_info_object.owner,