Skip to content

Commit

Permalink
rm comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hinthornw committed Apr 13, 2024
1 parent 7eca523 commit a1dea28
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions python/langsmith/_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,12 +468,9 @@ def _get_test_repr(func: Callable, sig: inspect.Signature) -> str:
def _ensure_example(
func: Callable, *args: Any, langtest_extra: _UTExtra, **kwargs: Any
) -> Tuple[_LangSmithTestSuite, uuid.UUID]:
# 1. check if the id exists.
# TODOs: Local cache + prefer a peek operation
client = langtest_extra["client"] or ls_client.Client()
output_keys = langtest_extra["output_keys"]
signature = inspect.signature(func)
# 2. Create the example
inputs: dict = rh._get_inputs_safe(signature, *args, **kwargs)
outputs = {}
if output_keys:
Expand Down

0 comments on commit a1dea28

Please sign in to comment.