mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Add some type hints
This commit is contained in:
parent
2e023a5feb
commit
31816dc652
2 changed files with 2 additions and 2 deletions
|
|
@ -296,7 +296,7 @@ class ResolveConflict(Action):
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def _get_actions(a_info, b_info):
|
def _get_actions(a_info: _StorageInfo, b_info: _StorageInfo):
|
||||||
for ident in uniq(
|
for ident in uniq(
|
||||||
itertools.chain(
|
itertools.chain(
|
||||||
a_info.status.parent.iter_new(), a_info.status.parent.iter_old()
|
a_info.status.parent.iter_new(), a_info.status.parent.iter_old()
|
||||||
|
|
|
||||||
|
|
@ -328,7 +328,7 @@ class SqliteStatus(_StatusBase):
|
||||||
|
|
||||||
|
|
||||||
class SubStatus:
|
class SubStatus:
|
||||||
def __init__(self, parent, side):
|
def __init__(self, parent: SqliteStatus, side: str):
|
||||||
self.parent = parent
|
self.parent = parent
|
||||||
assert side in "ab"
|
assert side in "ab"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue