Skip to content

Commit

Permalink
Lint + format
Browse files Browse the repository at this point in the history
  • Loading branch information
vblagoje committed Oct 1, 2024
1 parent 67053d2 commit fa438c0
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from typing import Any, Dict, Optional

from haystack import component, tracing, logging
from langfuse import Langfuse
from haystack import component, logging, tracing

from haystack_integrations.tracing.langfuse import LangfuseTracer
from langfuse import Langfuse

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -121,6 +121,8 @@ def run(self, invocation_context: Optional[Dict[str, Any]] = None):
- `name`: The name of the tracing component.
- `trace_url`: The URL to the tracing data.
"""
logger.debug("Langfuse tracer invoked with the following context: '{invocation_context}'",
invocation_context=invocation_context)
logger.debug(
"Langfuse tracer invoked with the following context: '{invocation_context}'",
invocation_context=invocation_context,
)
return {"name": self.name, "trace_url": self.tracer.get_trace_url()}

0 comments on commit fa438c0

Please sign in to comment.