diff options
| author | 2019-12-25 11:11:05 -0800 | |
|---|---|---|
| committer | 2020-02-12 10:07:45 -0800 | |
| commit | 617e54e0cd905c834d0153e019951d736c921d5c (patch) | |
| tree | 51c0df32be7bf01ab86eb9d9ecda02a2b5661c19 /tests | |
| parent | Sync: move sync logic into Syncer base class (diff) | |
Sync: remove generic type from Diff
It doesn't play along well with NamedTuple due to metaclass conflicts.
The workaround involved created a NamedTuple-only base class, which
does work but at the cost of confusing some static type checkers.
Since Diff is now an internal data structure, it no longer really needs
to have precise type annotations. Therefore, a normal namedtuple is
adequate.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions