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

The element property of a paragraph is private can we access it as a public property #1445

Open
frankogenrwoth opened this issue Nov 12, 2024 · 0 comments

Comments

@frankogenrwoth
Copy link

this can be done by adding the code below in the paragraph class object. this doesn't cause errors but most IDE's see it as an inconsistency

@property
def element(self):
  return self._element```
@frankogenrwoth frankogenrwoth changed the title The element property of a paragraph is public can we access it as a public property The element property of a paragraph is private can we access it as a public property Nov 17, 2024
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