Skip to content

add slots=True to the dataclass replacing named tuples. #428

@eugenenelou

Description

@eugenenelou

To better mimick the behaviour of NamedTuple, the replacing dataclass should have slots=True so that the underlying class stores the attribute as a tuple.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions