mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
fix: fix mypy typing error
This commit is contained in:
parent
f8bcafa9d7
commit
9bbb7fa91a
1 changed files with 2 additions and 1 deletions
|
|
@ -8,6 +8,7 @@ from itertools import chain
|
||||||
from typing import IO
|
from typing import IO
|
||||||
from typing import Any
|
from typing import Any
|
||||||
from typing import Generator
|
from typing import Generator
|
||||||
|
from typing import Tuple
|
||||||
|
|
||||||
from .. import PROJECT_HOME
|
from .. import PROJECT_HOME
|
||||||
from .. import exceptions
|
from .. import exceptions
|
||||||
|
|
@ -231,7 +232,7 @@ class PairConfig:
|
||||||
self.name_b: str = options.pop("b")
|
self.name_b: str = options.pop("b")
|
||||||
|
|
||||||
self._partial_sync: str | None = options.pop("partial_sync", None)
|
self._partial_sync: str | None = options.pop("partial_sync", None)
|
||||||
self.metadata = options.pop("metadata", None) or ()
|
self.metadata: str | Tuple[()] = options.pop("metadata", ())
|
||||||
|
|
||||||
self.conflict_resolution = self._process_conflict_resolution_param(
|
self.conflict_resolution = self._process_conflict_resolution_param(
|
||||||
options.pop("conflict_resolution", None)
|
options.pop("conflict_resolution", None)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue