mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-27 12:04:00 +03:00
15 lines
313 B
Python
15 lines
313 B
Python
"""Handlers module."""
|
|
|
|
from .repositories import RatingRepository
|
|
|
|
|
|
class CommandHandler:
|
|
def __init__(self, rating_repo: RatingRepository):
|
|
self.rating_repo = rating_repo
|
|
|
|
def save_rating(self):
|
|
print("Saving rating")
|
|
|
|
def something_else(self):
|
|
print("Doing something else")
|