Skip to content

Commit

Permalink
python[patch]: add ls_runner metadata (#1449)
Browse files Browse the repository at this point in the history
  • Loading branch information
baskaryan authored Jan 22, 2025
1 parent 46d2226 commit 95fe3b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/langsmith/testing/_internal.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,9 @@ def _get_test_suite(
description += f" for {repo}"
try:
return client.create_dataset(
dataset_name=test_suite_name, description=description
dataset_name=test_suite_name,
description=description,
metadata={"__ls_runner": "pytest"},
)
except ls_utils.LangSmithConflictError:
return client.read_dataset(dataset_name=test_suite_name)
Expand Down

0 comments on commit 95fe3b5

Please sign in to comment.