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

Review use of namedtuple for base data structure #36

Open
supermanzer opened this issue May 13, 2021 · 0 comments
Open

Review use of namedtuple for base data structure #36

supermanzer opened this issue May 13, 2021 · 0 comments
Assignees
Labels
review Perform non-coding research to identify possible solutions.

Comments

@supermanzer
Copy link
Owner

from collections import namedtuple

Named tuples provide clear and concise data access via keys and dot notation. While the tuple is immutable, the data structures it contains can be mutable. This could provide some improvements in data access beyond the @property decorators currently in use. Review this more thoroughly and how it may impact data access methods.

Reference:
https://realpython.com/python-namedtuple/

@supermanzer supermanzer added the review Perform non-coding research to identify possible solutions. label May 13, 2021
@supermanzer supermanzer self-assigned this May 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review Perform non-coding research to identify possible solutions.
Projects
None yet
Development

No branches or pull requests

1 participant