You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Explicitly add all the inherited arguments of __init__ to all the inherited classes, so that it is clear which class has which arguments and IDE's will better help with their hints.
As seen in the following picture, PyCharm can't understand that the code argument is coming from a parent class. Because the Repository class has the *args and **kwargs arguments which are implicity passing args to the parent class.
The text was updated successfully, but these errors were encountered:
Explicitly add all the inherited arguments of
__init__
to all the inherited classes, so that it is clear which class has which arguments and IDE's will better help with their hints.As seen in the following picture, PyCharm can't understand that the
code
argument is coming from a parent class. Because theRepository
class has the*args
and**kwargs
arguments which are implicity passing args to the parent class.The text was updated successfully, but these errors were encountered: