Skip to content

Implement __slots__ to avoid user confusion #168

@MicahGale

Description

@MicahGale

TIL about slots in python: https://stackoverflow.com/questions/472000/usage-of-slots

Basically statically allocating python attributes. The benefit would be to guard against typos frustrating users. For instance cell.materail = mat.

Metadata

Metadata

Assignees

No one assigned

    Labels

    code improvementA feature request that will improve the software and its maintainability, but be invisible to users.feature requestAn issue that improves the user interface.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions