Replace Incomplete | None = None in third party stubs (#14063)

This commit is contained in:
Sebastian Rittau authored and GitHub committed 2025-05-15 21:37:43 +02:00
1 parent acc51542c9
commit 126768408a
488 files changed
+2259 -4044

No files matched your search

+1 -2
View File
@@ -1,4 +1,3 @@
from _typeshed import Incomplete
from types import TracebackType
from typing import Any
from typing_extensions import Self
@@ -26,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, event: Any, payload: Incomplete | None = None) -> Self: ...
def log_event(self, event: Any, payload=None) -> Self: ...
def log(self, **kwargs: Any) -> Self: ...