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

@@ -1,3 +1,4 @@
from _typeshed import Incomplete
from collections.abc import Callable, Mapping, Sequence
from typing import Any
@@ -8,7 +9,7 @@ class FunctionItem(ExternalItem):
function: Callable[..., Any]
args: Sequence[Any]
kwargs: Mapping[str, Any]
return_value: Any | None
return_value: Incomplete | None
def __init__(
self,
text: str,