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

Inheritance of properties or methods is not analyzed. #19

Open
JCHacking opened this issue Oct 24, 2023 · 0 comments
Open

Inheritance of properties or methods is not analyzed. #19

JCHacking opened this issue Oct 24, 2023 · 0 comments

Comments

@JCHacking
Copy link

If I have the following code in 2 different files:
file1.py

class BaseClass(ABC):
    def __init__(self, name):
        self.name = name

file2.py

class ClassExample(BaseClass):
    """Class Exmaple.
    
    Attributes:
        name: Name
    """
    def __init__(self, name):
        super().__init__(name)

It gives error because it says that in ClassExample the property name does not exist. I imagine that this will also happen if you document methods in some way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant