Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
vblagoje committed Oct 1, 2024
1 parent 51d3a83 commit 2ed1e0d
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2ed1e0d

Please sign in to comment.