Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
eyurtsev committed Sep 9, 2024
1 parent c950c0c commit cbc59d4
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions tests/unit_tests/test_server_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
from langsmith import schemas as ls_schemas
from langsmith.client import Client
from langsmith.schemas import FeedbackIngestToken
from pydantic import BaseModel, Field
from pydantic import BaseModel, Field, __version__
from pytest import MonkeyPatch
from pytest_mock import MockerFixture
from typing_extensions import Annotated, TypedDict
Expand All @@ -77,6 +77,8 @@
from tests.unit_tests.utils.stubs import _AnyIdAIMessage
from tests.unit_tests.utils.tracer import FakeTracer

PYDANTIC_VERSION = tuple(map(int, __version__.split(".")))


def _decode_eventstream(text: str) -> List[Dict[str, Any]]:
"""Simple decoder for testing purposes.
Expand Down Expand Up @@ -1560,11 +1562,6 @@ async def add_two(y: int) -> int:
}


from pydantic import __version__

PYDANTIC_VERSION = tuple(map(int, __version__.split(".")))


async def test_input_schema_typed_dict() -> None:
class InputType(TypedDict):
foo: str
Expand Down

0 comments on commit cbc59d4

Please sign in to comment.