Skip to content

Commit dc7d7ff

Browse files
committed
fix span
1 parent 717c302 commit dc7d7ff

3 files changed

Lines changed: 439 additions & 437 deletions

File tree

langfuse/_client/attributes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def create_span_attributes(
9595
level: Optional[SpanLevel] = None,
9696
status_message: Optional[str] = None,
9797
version: Optional[str] = None,
98-
observation_type: Optional[Literal["span", "guardrail"]] = "span",
98+
observation_type: Optional[Literal["span", "guardrail", "event"]] = "span",
9999
) -> dict:
100100
attributes = {
101101
LangfuseOtelSpanAttributes.OBSERVATION_TYPE: observation_type,

0 commit comments

Comments
 (0)