dependencies icon indicating copy to clipboard operation
dependencies copied to clipboard

Shield keyword arguments can't repeat existed arguments of the constructor.

Open proofit404 opened this issue 5 years ago • 0 comments

class Foo:
    def __init__(self, a, b, **kwargs):
        ...

class Container(Injector):
    foo = shield(Foo, a=this.a)
    #                 -------- error

proofit404 avatar Jan 26 '21 12:01 proofit404