Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inherited arguments of __init__ functions are not IDE friendly. #72

Open
eoyilmaz opened this issue Jan 12, 2023 · 0 comments
Open

Inherited arguments of __init__ functions are not IDE friendly. #72

eoyilmaz opened this issue Jan 12, 2023 · 0 comments
Assignees
Milestone

Comments

@eoyilmaz
Copy link
Owner

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.

image

@eoyilmaz eoyilmaz added this to the 1.0.0 milestone Jan 12, 2023
@eoyilmaz eoyilmaz self-assigned this Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant