From 5c7db8def67e1b2252214d259b9265f608373eba Mon Sep 17 00:00:00 2001 From: Kevin Nitro Date: Wed, 15 Jan 2025 00:29:30 +0700 Subject: [PATCH] chore: break instead of return while looping to process apis --- src/check_phat_nguoi/get_data/get_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/check_phat_nguoi/get_data/get_data.py b/src/check_phat_nguoi/get_data/get_data.py index 0e3326e..8a29782 100644 --- a/src/check_phat_nguoi/get_data/get_data.py +++ b/src/check_phat_nguoi/get_data/get_data.py @@ -45,7 +45,7 @@ async def _get_data_for_plate(self, plate_info: PlateInfo) -> None: plate_detail: PlateDetail | None = await engine.get_data(plate_info) if plate_detail: self._plates_details.add(plate_detail) - return + break async def get_data(self) -> None: async with (