Skip to content

Commit bc6183d

Browse files
committed
push
1 parent c0292ec commit bc6183d

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

langfuse/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
""".. include:: ../README.md"""
22

3+
from ._client import client as _client_module
34
from ._client.attributes import LangfuseOtelSpanAttributes
45
from ._client.get_client import get_client
5-
from ._client import client as _client
66
from ._client.observe import observe
77
from ._client.span import LangfuseEvent, LangfuseGeneration, LangfuseSpan
88

9-
Langfuse = _client.Langfuse
9+
Langfuse = _client_module.Langfuse
1010

1111
__all__ = [
1212
"Langfuse",

tests/test_otel.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ def mock_init(self, **kwargs):
9595
)
9696

9797
monkeypatch.setattr(
98-
"langfuse._client.span_processor.LangfuseSpanProcessor.__init__", mock_init
98+
"langfuse._client.span_processor.LangfuseSpanProcessor.__init__",
99+
mock_init,
99100
)
100101

101102
@pytest.fixture

0 commit comments

Comments
 (0)