HomePhabricator

Migrate page module to dataclasses

Description

Migrate page module to dataclasses

Note that with the autogenerated eq, 1 and True in the
resolve_redirects flag are considered equal, while the previous
implementation (correctly, I’d say) considered them different (because
it compared with is instead of ==). I’m not a huge fan of this, but
I can live with it, since mypy should already protect us from
instantiating the class with an int there.

Details

Provenance
LucasWerkmeisterAuthored on Sep 17 2021, 8:40 PM
LucasWerkmeisterPushed on Sep 18 2021, 1:00 PM
Parents
R2494:e76c7642ea79: Migrate command module to dataclasses
Branches
Unknown
Tags
Unknown
ChangeId
None