You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: langfuse/api/client.py
+92-8Lines changed: 92 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,39 @@
23
23
24
24
25
25
classFernLangfuse:
26
+
"""Use this class to access the different functions within the SDK. You can instantiate any number of clients with different configuration that will propogate to these functions.
27
+
28
+
Parameters:
29
+
- base_url: str. The base url to use for requests from the client.
- timeout: typing.Optional[float]. The timeout to be used, in seconds, for requests by default the timeout is 60 seconds, unless a custom httpx client is used, in which case a default is not set.
42
+
43
+
- follow_redirects: typing.Optional[bool]. Whether the default httpx client follows redirects or not, this is irrelevant if a custom httpx client is passed in.
44
+
45
+
- httpx_client: typing.Optional[httpx.Client]. The httpx client to use for making requests, a preconfigured client is used by default, however this is useful should you want to pass in any custom httpx configuration.
"""Use this class to access the different functions within the SDK. You can instantiate any number of clients with different configuration that will propogate to these functions.
109
+
110
+
Parameters:
111
+
- base_url: str. The base url to use for requests from the client.
- timeout: typing.Optional[float]. The timeout to be used, in seconds, for requests by default the timeout is 60 seconds, unless a custom httpx client is used, in which case a default is not set.
124
+
125
+
- follow_redirects: typing.Optional[bool]. Whether the default httpx client follows redirects or not, this is irrelevant if a custom httpx client is passed in.
126
+
127
+
- httpx_client: typing.Optional[httpx.AsyncClient]. The httpx client to use for making requests, a preconfigured client is used by default, however this is useful should you want to pass in any custom httpx configuration.
0 commit comments