Reputation: 769
I am facing TypeError:__init__() takes exactly 1 argument (3 given) error when calling below function:
Code Snippet:
super(abc, self).__init__(incoming, **kwargs);
Upvotes: 0
Views: 514
Reputation: 769
Before
super(abc, self).__init__(incoming, **kwargs);
After modification where "incoming" need to be removed.
super(abc, self).__init__(**kwargs);
Upvotes: 1