Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eba5f7f

Browse files
fix(client): avoid private import of Langfuse to satisify Pyright (#1275)
Co-authored-by: Hassieb Pakzad <[email protected]>
1 parent 5247396 commit eba5f7f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎langfuse/__init__.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
""".. include:: ../README.md"""
22

33
from ._client.attributes import LangfuseOtelSpanAttributes
4-
from ._client.client import Langfuse
54
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
10+
911
__all__ = [
1012
"Langfuse",
1113
"get_client",

0 commit comments

Comments
 (0)