Skip to content

Commit 4437f67

Browse files
Update langfuse/_client/observe.py
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
1 parent a9cc9f1 commit 4437f67

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

langfuse/_client/observe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def sub_process():
147147
"""
148148
function_io_capture_enabled = (
149149
os.environ.get(LANGFUSE_OBSERVE_DECORATOR_IO_CAPTURE_ENABLED, "True")
150-
!= "False"
150+
.lower() not in ("false", "0")
151151
)
152152

153153
def decorator(func: F) -> F:

0 commit comments

Comments
 (0)