You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For more implementation examples, check out https://github.com/tough-dev-school/education-backend/blob/master/src/apps/orders/services/order_course_changer.py
29
28
"""
30
29
31
-
def__call__(self) ->Any:
30
+
def__call__(self) ->T:
32
31
self.validate()
33
32
returnself.act()
34
33
@@ -41,5 +40,5 @@ def validate(self) -> None:
41
40
validator()
42
41
43
42
@abstractmethod
44
-
defact(self) ->Any:
43
+
defact(self) ->T:
45
44
raiseNotImplementedError("Please implement in the service class")
0 commit comments