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

(PYL-W0212) Protected member accessed from outside the class #35

Open
fatman2021 opened this issue Jan 28, 2024 · 0 comments
Open

(PYL-W0212) Protected member accessed from outside the class #35

fatman2021 opened this issue Jan 28, 2024 · 0 comments

Comments

@fatman2021
Copy link
Owner

Description

Accessing a protected member (a member prefixed with _) of a class from outside that class is not recommended, since the creator of that class did not intend this member to be exposed. If accesing this attribute outside of the class is absolutely needed, refactor it such that it becomes …

Occurrences

There are 2 occurrences of this issue in the repository.

See all occurrences on DeepSource → app.deepsource.com/gh/fatman2021/project-manhattan/issue/PYL-W0212/occurrences/

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