File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11""".. include:: ../README.md"""
22
3+ from ._client import client as _client_module
34from ._client .attributes import LangfuseOtelSpanAttributes
45from ._client .get_client import get_client
5- from ._client import client as _client
66from ._client .observe import observe
77from ._client .span import LangfuseEvent , LangfuseGeneration , LangfuseSpan
88
9- Langfuse = _client .Langfuse
9+ Langfuse = _client_module .Langfuse
1010
1111__all__ = [
1212 "Langfuse" ,
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments