refactor(otel v2): drop the docstring from conflicting_span_scope_error

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
yucheng 2026-09-19 23:48:52 +00:00
parent f63782f678
commit f6e5ef0d26

View file

@ -161,7 +161,6 @@ def conflicting_span_scope_error(
callback_vars: Mapping[str, str] | None,
stored_vars_by_entry: Sequence[Mapping[str, str]],
) -> str | None:
"""Reject a ``langfuse_span_scope`` another entry already sets differently; the entries flatten last-wins."""
incoming: Final = None if callback_vars is None else callback_vars.get(_LANGFUSE_SPAN_SCOPE_VAR)
if incoming is None:
return None