Skip to content

Commit 848013a

Browse files
committed
Removed hints for __get__ function
1 parent b2a3d55 commit 848013a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

patterns/structural/3-tier.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55

66
from typing import Dict, KeysView, Optional, Type, TypeVar, Union
77

8-
T = TypeVar("T")
9-
108

119
class Data:
1210
""" Data Store Class """
@@ -17,9 +15,7 @@ class Data:
1715
"cheese": {"price": 2.00, "quantity": 10},
1816
}
1917

20-
def __get__(
21-
self, obj: Optional[T], klas: Type[T]
22-
) -> Dict[str, Dict[str, Dict[str, Union[int, float]]]]:
18+
def __get__(self, obj, klas):
2319

2420
print("(Fetching from Data Store)")
2521
return {"products": self.products}

0 commit comments

Comments
 (0)