release: 0.2.2
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user