Skip to content

Commit 0267755

Browse files
committed
a bit more clean
1 parent 4498380 commit 0267755

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

langfuse/_client/client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -962,7 +962,6 @@ def _get_span_class(
962962
elif normalized_type == "span":
963963
return LangfuseSpan
964964
else:
965-
# Default to LangfuseSpan for unrecognized types
966965
return LangfuseSpan
967966

968967
@_agnosticcontextmanager

langfuse/_client/observe.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,6 @@ async def async_wrapper(*args: Tuple[Any], **kwargs: Dict[str, Any]) -> Any:
265265
# Set public key in execution context for nested decorated functions
266266
with _set_current_public_key(public_key):
267267
langfuse_client = get_client(public_key=public_key)
268-
269268
context_manager: Optional[
270269
Union[
271270
_AgnosticContextManager[LangfuseGeneration],

langfuse/_client/span.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,6 @@ def update(
600600
if name:
601601
self._otel_span.update_name(name)
602602

603-
# Use same logic as __init__ to determine which attributes to create
604603
if self._observation_type in get_args(ObservationTypeGenerationLike):
605604
attributes = create_generation_attributes(
606605
input=processed_input,

0 commit comments

Comments
 (0)