Skip to content

Commit cf9118e

Browse files
committed
remove underscore from PydanticV2Metadata and PydanticV1Metadata
1 parent d066c98 commit cf9118e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

py/src/braintrust/types/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
from typing import Any, Protocol, TypeAlias
33

44

5-
class _PydanticV2Metadata(Protocol):
5+
class PydanticV2Metadata(Protocol):
66
def model_dump(self, *, exclude_none: bool = ...) -> Mapping[str, Any]: ...
77

88

9-
class _PydanticV1Metadata(Protocol):
9+
class PydanticV1Metadata(Protocol):
1010
def dict(self, *, exclude_none: bool = ...) -> Mapping[str, Any]: ...
1111

1212

13-
Metadata: TypeAlias = Mapping[str, Any] | _PydanticV2Metadata | _PydanticV1Metadata
13+
Metadata: TypeAlias = Mapping[str, Any] | PydanticV2Metadata | PydanticV1Metadata

0 commit comments

Comments
 (0)