aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2019-12-25 11:11:05 -0800
committerGravatar MarkKoz <[email protected]>2020-02-12 10:07:45 -0800
commit617e54e0cd905c834d0153e019951d736c921d5c (patch)
tree51c0df32be7bf01ab86eb9d9ecda02a2b5661c19 /tests/helpers.py
parentSync: 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/helpers.py')
0 files changed, 0 insertions, 0 deletions