HomePhabricator

Mark some dataclasses as frozen

Description

Mark some dataclasses as frozen

All the action/batch/page classes can’t be frozen due to the cleanup()
method. Maybe that should be cleaned up (haha) later, by making those
methods return new instances, but for now we just leave them unfrozen,
it’s fine.

Runner and StringTableStore can’t be frozen because they assign to
internal members in post_init.

Details

Provenance
LucasWerkmeisterAuthored on Sep 18 2021, 9:34 AM
LucasWerkmeisterPushed on Sep 18 2021, 1:00 PM
Parents
R2494:62f1cd8785dc: Migrate in_memory module to dataclasses
Branches
Unknown
Tags
Unknown
ChangeId
None