release: 0.2.2

This commit is contained in:
Romain Dorgueil
2017-04-28 08:04:48 +02:00
parent 9a3fa98723
commit bb5fc22f5e
21 changed files with 56 additions and 63 deletions

View File

@ -33,7 +33,9 @@ class ConcretePrinter(PrinterInterface):
class MyServiceDependantConfigurable(Configurable):
printer = Service(PrinterInterface, )
printer = Service(
PrinterInterface,
)
def __call__(self, printer: PrinterInterface, *args):
return printer.print(*args)