Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lucc committed Dec 16, 2024
1 parent 9f83bf5 commit 864fab9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions khard/carddav_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
def multi_property_key(item: str) -> Tuple[Literal[0], str]: ...
@overload
def multi_property_key(item: Dict[T, Any]) -> Tuple[Literal[1], T]: ...
@overload
def multi_property_key(item: Union[str, Dict[T, Any]]) -> Tuple[Union[Literal[0], Literal[1]], Union[str, T]]: ...
def multi_property_key(item: Union[str, Dict[T, Any]]
) -> Tuple[int, Union[T, str]]:
"""Key function to pass to sorted(), allowing sorting of dicts with lists
Expand Down

0 comments on commit 864fab9

Please sign in to comment.