mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +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(
|
||||
itertools.chain(
|
||||
a_info.status.parent.iter_new(), a_info.status.parent.iter_old()
|
||||
|
|
|
|||
|
|
@ -328,7 +328,7 @@ class SqliteStatus(_StatusBase):
|
|||
|
||||
|
||||
class SubStatus:
|
||||
def __init__(self, parent, side):
|
||||
def __init__(self, parent: SqliteStatus, side: str):
|
||||
self.parent = parent
|
||||
assert side in "ab"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue