We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6da6160 commit ac986b5Copy full SHA for ac986b5
1 file changed
patterns/structural/mvc.py
@@ -12,7 +12,7 @@
12
class Model(ABC):
13
"""The Model is the data layer of the application."""
14
@abstractmethod
15
- def __iter__(self):
+ def __iter__(self) -> Any:
16
pass
17
18
@@ -44,7 +44,7 @@ def __str__(self) -> str:
44
45
item_type = "product"
46
47
48
yield from self.products
49
50
def get(self, product: str) -> dict:
0 commit comments