Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hinthornw committed Jul 17, 2023
1 parent d28a32e commit 0bb8025
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions python/langsmith/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ def upload_csv(
Parameters
----------
csv_file : str or Tuple[str, BytesIO]
The CSV file to upload. If a string, it should be the path to the file.
The CSV file to upload. If a string, it should be the path
If a tuple, it should be a tuple containing the filename and a BytesIO object.
input_keys : Sequence[str]
The input keys.
Expand All @@ -488,7 +488,7 @@ def upload_csv(
------
ValueError
If the csv_file is not a string or tuple.
"""
""" # noqa: E501
data = {
"input_keys": input_keys,
"output_keys": output_keys,
Expand Down Expand Up @@ -1250,7 +1250,7 @@ def evaluate_run(
-------
Feedback
The feedback object created by the evaluation.
"""
""" # noqa: E501
run_ = self._resolve_run_id(run, load_child_runs=load_child_runs)
reference_example_ = self._resolve_example_id(reference_example, run_)
feedback_result = evaluator.evaluate_run(
Expand Down Expand Up @@ -1299,7 +1299,7 @@ async def aevaluate_run(
-------
Feedback
The feedback created by the evaluation.
"""
""" # noqa: E501
run_ = self._resolve_run_id(run, load_child_runs=load_child_runs)
reference_example_ = self._resolve_example_id(reference_example, run_)
feedback_result = await evaluator.aevaluate_run(
Expand Down Expand Up @@ -1441,4 +1441,4 @@ def delete_feedback(self, feedback_id: ID_TYPE) -> None:
f"{self.api_url}/feedback/{feedback_id}",
headers=self._headers,
)
raise_for_status_with_text(response)
raise_for_status_with_text(response)

0 comments on commit 0bb8025

Please sign in to comment.