Skip to content

Review use of namedtuple for base data structure #36

@supermanzer

Description

@supermanzer

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/

Metadata

Metadata

Assignees

Labels

reviewPerform non-coding research to identify possible solutions.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions