fix(rust): restore callback handle typing

This commit is contained in:
Yujong Lee 2026-09-05 17:34:50 -07:00
parent 01fbd47f37
commit f424891d76

View file

@ -5,6 +5,8 @@ from dataclasses import dataclass, replace
from types import MappingProxyType
from typing import Generic, Protocol, TypeVar
from .callbacks import OneShotCallbackHandle
@dataclass(frozen=True, slots=True)
class NativeBedrockOptions:
@ -72,8 +74,7 @@ def vertex_options(params: Mapping[str, object]) -> NativeVertexOptions:
location=location if isinstance(location, str) else None,
)
from typing_extensions import ReadOnly, TypedDict
from typing_extensions import ReadOnly, TypedDict, TypeVar
class NativePreCallDetails(TypedDict):