Replace Any with Incomplete in many places (#9558)

This commit is contained in:
Alex Waygood authored and GitHub committed 2023-01-18 08:48:16 +00:00
1 parent ddfaca3200
commit 4fea314594
460 files changed
+3779 -2909

No files matched your search

+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: ...