From 0ab5cc735165baf6d1764c413f7f333d6f8cf767 Mon Sep 17 00:00:00 2001 From: Bohan Qu Date: Sat, 9 Nov 2024 11:27:50 +0800 Subject: [PATCH] chore: addressing lint issues --- .../src/haystack_integrations/tracing/langfuse/tracer.py | 1 - integrations/langfuse/tests/test_tracer.py | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/integrations/langfuse/src/haystack_integrations/tracing/langfuse/tracer.py b/integrations/langfuse/src/haystack_integrations/tracing/langfuse/tracer.py index 3e9dc9c6e..c9c8a354e 100644 --- a/integrations/langfuse/src/haystack_integrations/tracing/langfuse/tracer.py +++ b/integrations/langfuse/src/haystack_integrations/tracing/langfuse/tracer.py @@ -11,7 +11,6 @@ import langfuse - logger = logging.getLogger(__name__) HAYSTACK_LANGFUSE_ENFORCE_FLUSH_ENV_VAR = "HAYSTACK_LANGFUSE_ENFORCE_FLUSH" diff --git a/integrations/langfuse/tests/test_tracer.py b/integrations/langfuse/tests/test_tracer.py index 65f1ec8fd..9ee8e5dc4 100644 --- a/integrations/langfuse/tests/test_tracer.py +++ b/integrations/langfuse/tests/test_tracer.py @@ -110,9 +110,7 @@ def test_trace_generation_invalid_start_time(self): "haystack.component.type": "OpenAIChatGenerator", "haystack.component.output": { "replies": [ - ChatMessage.from_assistant( - "", meta={"completion_start_time": "foobar", "model": "test_model"} - ) + ChatMessage.from_assistant("", meta={"completion_start_time": "foobar", "model": "test_model"}), ] }, }