From 0e2a60f24a83e35921bde6ed515f31604a4944de Mon Sep 17 00:00:00 2001 From: Alex Kira Date: Fri, 25 Oct 2024 17:22:39 -0700 Subject: [PATCH] Lint --- python/langsmith/_internal/_background_thread.py | 4 +++- python/tests/integration_tests/test_client.py | 4 +--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/python/langsmith/_internal/_background_thread.py b/python/langsmith/_internal/_background_thread.py index 432a63b04..3a468643f 100644 --- a/python/langsmith/_internal/_background_thread.py +++ b/python/langsmith/_internal/_background_thread.py @@ -72,7 +72,9 @@ def _tracing_thread_handle_batch( feedback = [it.item for it in batch if it.action == "feedback"] try: if use_multipart: - client.multipart_ingest(create=create, update=update, feedback=feedback, pre_sampled=True) + client.multipart_ingest( + create=create, update=update, feedback=feedback, pre_sampled=True + ) else: client.batch_ingest_runs(create=create, update=update, pre_sampled=True) except Exception: diff --git a/python/tests/integration_tests/test_client.py b/python/tests/integration_tests/test_client.py index d13d9639e..22ac1735b 100644 --- a/python/tests/integration_tests/test_client.py +++ b/python/tests/integration_tests/test_client.py @@ -750,9 +750,7 @@ def test_multipart_ingest_empty( # make sure no warnings logged with caplog.at_level(logging.WARNING, logger="langsmith.client"): - langchain_client.multipart_ingest( - create=runs_to_create, update=runs_to_update - ) + langchain_client.multipart_ingest(create=runs_to_create, update=runs_to_update) assert not caplog.records