adaptix icon indicating copy to clipboard operation
adaptix copied to clipboard

Add workaround for `object.__init__` as having no args/kwargs

Open Tishka17 opened this issue 2 years ago • 1 comments

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__

Tishka17 avatar Feb 10 '23 06:02 Tishka17

We should add provider raising CannotProvide with note that this type has __init__ of object

zhPavel avatar Jun 09 '24 09:06 zhPavel