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

Refactor System Fields #298

Open
max-moser opened this issue Jan 24, 2022 · 0 comments
Open

Refactor System Fields #298

max-moser opened this issue Jan 24, 2022 · 0 comments

Comments

@max-moser
Copy link
Contributor

AFAICS, it doesn't seem like the "public" methods (e.g. obj()) are part of an interface for system fields that's being relied on anywhere.
As per discussion, it could be beneficial to slightly rename the methods in system fields, to emphasize to the developers that they are Python Descriptors.

Another possible means for improvement would be the __set_name__(...) magic method that could remove the necessity for explicitly setting the system field's backing property in many cases.

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