Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
eyurtsev committed Nov 16, 2023
1 parent 29832a4 commit 00d6b91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion langchain_benchmarks/utils/_langsmith.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from langsmith.utils import LangSmithNotFoundError
from tqdm import tqdm


# PUBLIC API


Expand Down
6 changes: 3 additions & 3 deletions tests/unit_tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import unittest.mock as mock
import uuid
from contextlib import contextmanager
from typing import Generator, List, Sequence, Optional, Mapping, Any
from typing import Any, Generator, List, Mapping, Optional, Sequence
from uuid import UUID

from langsmith.client import ID_TYPE
Expand Down Expand Up @@ -62,14 +62,14 @@ def list_shared_examples(self, public_dataset_token: str) -> List[Example]:
# Simulate fetching shared examples and returning a list of Example objects
example1 = Example(
id=UUID(int=1),
inputs={'a': 1},
inputs={"a": 1},
outputs={},
created_at=datetime.datetime(2021, 1, 1),
dataset_id=public_dataset_token,
)
example2 = Example(
id=UUID(int=2),
inputs={'b': 2},
inputs={"b": 2},
outputs={},
created_at=datetime.datetime(2021, 1, 1),
dataset_id=public_dataset_token,
Expand Down

0 comments on commit 00d6b91

Please sign in to comment.