adaptix
adaptix copied to clipboard
Add workaround for `object.__init__` as having no args/kwargs
For object.__init__ signature is incorrect, so we will expect some args for classes like
class A:
pass
to fix it we could check if cls.__init__ is object.__init__
We should add provider raising CannotProvide with note that this type has __init__ of object