Skip to content

Commit ac986b5

Browse files
committed
.
1 parent 6da6160 commit ac986b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

patterns/structural/mvc.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
class Model(ABC):
1313
"""The Model is the data layer of the application."""
1414
@abstractmethod
15-
def __iter__(self):
15+
def __iter__(self) -> Any:
1616
pass
1717

1818
@abstractmethod
@@ -44,7 +44,7 @@ def __str__(self) -> str:
4444

4545
item_type = "product"
4646

47-
def __iter__(self):
47+
def __iter__(self) -> Any:
4848
yield from self.products
4949

5050
def get(self, product: str) -> dict:

0 commit comments

Comments
 (0)