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

Commit

Permalink
fix(get_data): correct plate_infos type from list to tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
NTGNguyen committed Dec 27, 2024
1 parent 222875d commit 31d71aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/check_phat_nguoi/modules/get_data/check_phat_nguoi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 31d71aa

Please sign in to comment.