mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-25 02:53:56 +03:00
Update quotes in commands-and-handlers example
This commit is contained in:
parent
02b9793189
commit
a9173496b4
|
@ -4,7 +4,7 @@ from .containers import Container
|
||||||
from .commands import SaveRating, DoSomethingElse
|
from .commands import SaveRating, DoSomethingElse
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == "__main__":
|
||||||
container = Container()
|
container = Container()
|
||||||
message_bus = container.message_bus()
|
message_bus = container.message_bus()
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ class CommandHandler:
|
||||||
self.rating_repo = rating_repo
|
self.rating_repo = rating_repo
|
||||||
|
|
||||||
def save_rating(self):
|
def save_rating(self):
|
||||||
print('Saving rating')
|
print("Saving rating")
|
||||||
|
|
||||||
def something_else(self):
|
def something_else(self):
|
||||||
print('Doing something else')
|
print("Doing something else")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user