From 2ed1e0dfef5b10c53a0f430f592e660aafd02028 Mon Sep 17 00:00:00 2001 From: Vladimir Blagojevic Date: Tue, 17 Sep 2024 14:34:24 +0200 Subject: [PATCH] Lint --- .../components/connectors/langfuse/langfuse_connector.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/integrations/langfuse/src/haystack_integrations/components/connectors/langfuse/langfuse_connector.py b/integrations/langfuse/src/haystack_integrations/components/connectors/langfuse/langfuse_connector.py index 272dfd527..ba0c6aa36 100644 --- a/integrations/langfuse/src/haystack_integrations/components/connectors/langfuse/langfuse_connector.py +++ b/integrations/langfuse/src/haystack_integrations/components/connectors/langfuse/langfuse_connector.py @@ -107,13 +107,14 @@ def __init__(self, name: str, public: bool = False): tracing.enable_tracing(self.tracer) @component.output_types(name=str, trace_url=str) - def run(self, invocation_context: Optional[Dict[str, Any]] = None): + def run(self, invocation_context: Optional[Dict[str, Any]] = None): # noqa: ARG002 """ Runs the LangfuseConnector component. - :param invocation_context: A dictionary with additional context for the invocation. This parameter is useful when - users want to mark this particular invocation with additional information, e.g. a run id from their own - execution framework, user id, etc. These key-value pairs are then visible in the Langfuse traces. + :param invocation_context: A dictionary with additional context for the invocation. This parameter + is useful when users want to mark this particular invocation with additional information, e.g. + a run id from their own execution framework, user id, etc. These key-value pairs are then visible + in the Langfuse traces. :returns: A dictionary with the following keys: - `name`: The name of the tracing component. - `trace_url`: The URL to the tracing data.