Replace Any with Incomplete in many places (#9565)

This commit is contained in:
Avasam
2023-01-18 14:12:46 -05:00
committed by GitHub
parent a4e3cfefac
commit 6ac24ed923
16 changed files with 55 additions and 48 deletions

View File

@@ -177,11 +177,11 @@ class _patch(Generic[_T]):
getter: Callable[[], Any],
attribute: str,
new: _T,
spec: Any | None,
spec: Incomplete | None,
create: bool,
spec_set: Any | None,
autospec: Any | None,
new_callable: Any | None,
spec_set: Incomplete | None,
autospec: Incomplete | None,
new_callable: Incomplete | None,
kwargs: Mapping[str, Any],
*,
unsafe: bool = ...,