Skip to content

Commit

Permalink
fix return value of update_examples (#885)
Browse files Browse the repository at this point in the history
  • Loading branch information
dqbd authored Jul 18, 2024
2 parents a6a01c4 + c249862 commit 5cd607b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions python/langsmith/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3347,7 +3347,7 @@ def update_examples(
metadata: Optional[Sequence[Optional[Dict]]] = None,
splits: Optional[Sequence[Optional[str | List[str]]]] = None,
dataset_ids: Optional[Sequence[Optional[ID_TYPE]]] = None,
) -> None:
) -> Dict[str, Any]:
"""Update multiple examples.
Parameters
Expand All @@ -3368,7 +3368,8 @@ def update_examples(
Returns:
-------
None
Dict[str, Any]
The response from the server (specifies the number of examples updated).
"""
examples = [
{
Expand Down
2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "langsmith"
version = "0.1.91"
version = "0.1.92"
description = "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform."
authors = ["LangChain <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 5cd607b

Please sign in to comment.