From 17745ed55f0b5bc43b592f26526d4c64b8bb1609 Mon Sep 17 00:00:00 2001 From: Hassieb Pakzad <68423100+hassiebp@users.noreply.github.com> Date: Mon, 25 Nov 2024 19:39:28 +0100 Subject: [PATCH 1/2] chore(deps): add requests --- poetry.lock | 10 +++++----- pyproject.toml | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/poetry.lock b/poetry.lock index c7a911afc..647f9ef01 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.4 and should not be changed by hand. [[package]] name = "aiohappyeyeballs" @@ -4323,13 +4323,13 @@ files = [ [[package]] name = "requests" -version = "2.32.0" +version = "2.32.3" description = "Python HTTP for Humans." optional = false python-versions = ">=3.8" files = [ - {file = "requests-2.32.0-py3-none-any.whl", hash = "sha256:f2c3881dddb70d056c5bd7600a4fae312b2a300e39be6a118d30b90bd27262b5"}, - {file = "requests-2.32.0.tar.gz", hash = "sha256:fa5490319474c82ef1d2c9bc459d3652e3ae4ef4c4ebdd18a21145a47ca4b6b8"}, + {file = "requests-2.32.3-py3-none-any.whl", hash = "sha256:70761cfe03c773ceb22aa2f671b4757976145175cdfca038c02654d061d6dcc6"}, + {file = "requests-2.32.3.tar.gz", hash = "sha256:55365417734eb18255590a9ff9eb97e9e1da868d4ccd6402399eaf68af20a760"}, ] [package.dependencies] @@ -5525,4 +5525,4 @@ openai = ["openai"] [metadata] lock-version = "2.0" python-versions = ">=3.8.1,<4.0" -content-hash = "90de8d5f0fa43cef64136016f2722a3db17eb68184a09c66376f1abe9f118f33" +content-hash = "659aa9b995fa3ed8259b07fb15d3600a75ce7a96a014c10399d80d8afbfeca47" diff --git a/pyproject.toml b/pyproject.toml index 7d52adc30..a9103cbb6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,6 +18,7 @@ llama-index = {version = ">=0.10.12, <2.0.0", optional = true} packaging = ">=23.2,<25.0" idna = "^3.7" anyio = "^4.4.0" +requests = "^2" [tool.poetry.group.dev.dependencies] pytest = ">=7.4,<9.0" From ba0e478d66cd2f7727a5c1e2137623233e79a543 Mon Sep 17 00:00:00 2001 From: Hassieb Pakzad <68423100+hassiebp@users.noreply.github.com> Date: Tue, 26 Nov 2024 09:56:14 +0100 Subject: [PATCH 2/2] update docstring --- langfuse/decorators/langfuse_decorator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/langfuse/decorators/langfuse_decorator.py b/langfuse/decorators/langfuse_decorator.py index 66f3b0b2c..71d037062 100644 --- a/langfuse/decorators/langfuse_decorator.py +++ b/langfuse/decorators/langfuse_decorator.py @@ -1065,7 +1065,7 @@ def configure( max_retries: Max number of retries in case of API/network errors. timeout: Timeout of API requests in seconds. Default is 20 seconds. httpx_client: Pass your own httpx client for more customizability of requests. - enabled: Enables or disables the Langfuse client. Defaults to True. If disabled, no observability data will be sent to Langfuse. If data is requested while disabled, an error will be raised. + enabled: Enables or disables the Langfuse client. Defaults to True. If disabled, no observability data will be sent to Langfuse. If data is requested while disabled, an error will be raised. Non-tracing features such as fetching prompts from the server are not affected by this flag. mask (Callable): Function that masks sensitive information from input and output in log messages. """