Skip to content

Commit 6da6160

Browse files
committed
oops
1 parent e22a680 commit 6da6160

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

patterns/structural/mvc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def get(self, product: str) -> dict:
5757
class View(ABC):
5858
"""The View is the presentation layer of the application."""
5959
@abstractmethod
60-
def show_item_list(self, item_type: str, item_list: dict) -> None:
60+
def show_item_list(self, item_type: str, item_list: list) -> None:
6161
pass
6262

6363
@abstractmethod
@@ -73,7 +73,7 @@ def item_not_found(self, item_type: str, item_name: str) -> None:
7373

7474
class ConsoleView(View):
7575
"""The View is the presentation layer of the application."""
76-
def show_item_list(self, item_type: str, item_list: dict[Any, Any]) -> None:
76+
def show_item_list(self, item_type: str, item_list: list) -> None:
7777
print(item_type.upper() + " LIST:")
7878
for item in item_list:
7979
print(item)

0 commit comments

Comments
 (0)