Skip to content

Commit 8e54641

Browse files
authored
chore(typo): fix minor typos in langfuse client comments (#1350)
Signed-off-by: jitokim <[email protected]>
1 parent 83f1285 commit 8e54641

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

langfuse/_client/client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ class Langfuse:
129129
Attributes:
130130
api: Synchronous API client for Langfuse backend communication
131131
async_api: Asynchronous API client for Langfuse backend communication
132-
langfuse_tracer: Internal LangfuseTracer instance managing OpenTelemetry components
132+
_otel_tracer: Internal LangfuseTracer instance managing OpenTelemetry components
133133
134134
Parameters:
135135
public_key (Optional[str]): Your Langfuse public API key. Can also be set via LANGFUSE_PUBLIC_KEY environment variable.
@@ -1679,7 +1679,7 @@ def update_current_trace(
16791679
existing_observation_type = current_otel_span.attributes.get( # type: ignore[attr-defined]
16801680
LangfuseOtelSpanAttributes.OBSERVATION_TYPE, "span"
16811681
)
1682-
# We need to preserve the class to keep the corret observation type
1682+
# We need to preserve the class to keep the correct observation type
16831683
span_class = self._get_span_class(existing_observation_type)
16841684
span = span_class(
16851685
otel_span=current_otel_span,
@@ -3134,7 +3134,7 @@ def get_prompt(
31343134
"""
31353135
if self._resources is None:
31363136
raise Error(
3137-
"SDK is not correctly initalized. Check the init logs for more details."
3137+
"SDK is not correctly initialized. Check the init logs for more details."
31383138
)
31393139
if version is not None and label is not None:
31403140
raise ValueError("Cannot specify both version and label at the same time.")

0 commit comments

Comments
 (0)