Replace Any with Incomplete in many places (#9558)

This commit is contained in:
Alex Waygood
2023-01-18 08:48:16 +00:00
committed by GitHub
parent ddfaca3200
commit 4fea314594
460 changed files with 3779 additions and 2909 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
from _typeshed import Self
from _typeshed import Incomplete, Self
from types import TracebackType
from typing import Any
@@ -25,5 +25,5 @@ class Span:
def __exit__(
self, exc_type: type[BaseException] | None, exc_val: BaseException | None, exc_tb: TracebackType | None
) -> None: ...
def log_event(self: Self, event: Any, payload: Any | None = ...) -> Self: ...
def log_event(self: Self, event: Any, payload: Incomplete | None = ...) -> Self: ...
def log(self: Self, **kwargs: Any) -> Self: ...