mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-26 02:08:42 +08:00
Replace Any with Incomplete in many places (#9558)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user