Skip to content

Commit

Permalink
minor-update
Browse files Browse the repository at this point in the history
  • Loading branch information
hinthornw committed Sep 27, 2023
1 parent 527dc01 commit c6eda2a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 903 deletions.
4 changes: 2 additions & 2 deletions python/langsmith/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2337,7 +2337,7 @@ async def alist_examples(
dataset_id: Optional[ID_TYPE] = None,
dataset_name: Optional[str] = None,
example_ids: Optional[List[ID_TYPE]] = None,
) -> Iterator[ls_schemas.Example]:
) -> AsyncGenerator[ls_schemas.Example, None]:
"""Retrieve the example rows of the specified dataset.
Parameters
Expand Down Expand Up @@ -2436,7 +2436,7 @@ async def aupdate_example(
"outputs": outputs,
"dataset_id": dataset_id,
}
response = await self._arequest_with_retries(
response = await self.arequest_with_retries(
"patch",
f"{self.api_url}/examples/{example_id}",
content=json.dumps(example, default=_serialize_json),
Expand Down
Loading

0 comments on commit c6eda2a

Please sign in to comment.