Skip to content

Commit 5895ad3

Browse files
authored
Merge pull request #522 from DominicOram/master
Fix type hints on DeepDiff constructor
2 parents 5993a42 + ae846e4 commit 5895ad3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deepdiff/diff.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def __init__(self,
131131
encodings: Optional[List[str]]=None,
132132
exclude_obj_callback: Optional[Callable]=None,
133133
exclude_obj_callback_strict: Optional[Callable]=None,
134-
exclude_paths: Union[str, List[str]]=None,
134+
exclude_paths: Union[str, List[str], None]=None,
135135
exclude_regex_paths: Union[str, List[str], Pattern[str], List[Pattern[str]], None]=None,
136136
exclude_types: Optional[List[Any]]=None,
137137
get_deep_distance: bool=False,
@@ -151,7 +151,7 @@ def __init__(self,
151151
ignore_type_subclasses: bool=False,
152152
include_obj_callback: Optional[Callable]=None,
153153
include_obj_callback_strict: Optional[Callable]=None,
154-
include_paths: Union[str, List[str]]=None,
154+
include_paths: Union[str, List[str], None]=None,
155155
iterable_compare_func: Optional[Callable]=None,
156156
log_frequency_in_sec: int=0,
157157
math_epsilon: Optional[float]=None,

0 commit comments

Comments
 (0)