langtrace-python-sdk 3.3.1__py3-none-any.whl → 3.3.2__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -79,8 +79,6 @@ from langtrace_python_sdk.utils.langtrace_sampler import LangtraceSampler
79
79
  from langtrace_python_sdk.extensions.langtrace_exporter import LangTraceExporter
80
80
  from sentry_sdk.types import Event, Hint
81
81
 
82
- logging.disable(level=logging.INFO)
83
-
84
82
 
85
83
  class LangtraceConfig:
86
84
  def __init__(self, **kwargs):
@@ -216,7 +214,7 @@ def init(
216
214
  disable_logging: bool = False,
217
215
  headers: Dict[str, str] = {},
218
216
  ):
219
- logging.disable(level=logging.INFO)
217
+
220
218
  check_if_sdk_is_outdated()
221
219
  config = LangtraceConfig(
222
220
  api_key=api_key,
@@ -232,6 +230,7 @@ def init(
232
230
  )
233
231
 
234
232
  if config.disable_logging:
233
+ logging.disable(level=logging.INFO)
235
234
  sys.stdout = open(os.devnull, "w")
236
235
 
237
236
  host = get_host(config)
@@ -1 +1 @@
1
- __version__ = "3.3.1"
1
+ __version__ = "3.3.2"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: langtrace-python-sdk
3
- Version: 3.3.1
3
+ Version: 3.3.2
4
4
  Summary: Python SDK for LangTrace
5
5
  Project-URL: Homepage, https://github.com/Scale3-Labs/langtrace-python-sdk
6
6
  Author-email: Scale3 Labs <engineering@scale3labs.com>
@@ -102,8 +102,8 @@ examples/vertexai_example/main.py,sha256=gndId5X5ksD-ycxnAWMdEqIDbLc3kz5Vt8vm4YP
102
102
  examples/weaviate_example/__init__.py,sha256=8JMDBsRSEV10HfTd-YC7xb4txBjD3la56snk-Bbg2Kw,618
103
103
  examples/weaviate_example/query_text.py,sha256=wPHQTc_58kPoKTZMygVjTj-2ZcdrIuaausJfMxNQnQc,127162
104
104
  langtrace_python_sdk/__init__.py,sha256=VZM6i71NR7pBQK6XvJWRelknuTYUhqwqE7PlicKa5Wg,1166
105
- langtrace_python_sdk/langtrace.py,sha256=IBl7tapb5Mig5362WdIoZUmYWE-ZuqFe2Bk4IJxk-Xs,12488
106
- langtrace_python_sdk/version.py,sha256=XErusAMGUPwBUpdA6BLyq8CjU-6n6gLlBRymgSC8Y-0,22
105
+ langtrace_python_sdk/langtrace.py,sha256=J8Iwn9l6AGOQps7SLkw8u9cQI2n_MzYMIecYK9cl_6k,12456
106
+ langtrace_python_sdk/version.py,sha256=ljnJCYxaT-9Q47JZlNplo0KcLdOZrB0woIJhPq11pD0,22
107
107
  langtrace_python_sdk/constants/__init__.py,sha256=3CNYkWMdd1DrkGqzLUgNZXjdAlM6UFMlf_F-odAToyc,146
108
108
  langtrace_python_sdk/constants/exporter/langtrace_exporter.py,sha256=d-3Qn5C_NTy1NkmdavZvy-6vePwTC5curN6QMy2haHc,50
109
109
  langtrace_python_sdk/constants/instrumentation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -254,8 +254,8 @@ tests/pinecone/cassettes/test_query.yaml,sha256=b5v9G3ssUy00oG63PlFUR3JErF2Js-5A
254
254
  tests/pinecone/cassettes/test_upsert.yaml,sha256=neWmQ1v3d03V8WoLl8FoFeeCYImb8pxlJBWnFd_lITU,38607
255
255
  tests/qdrant/conftest.py,sha256=9n0uHxxIjWk9fbYc4bx-uP8lSAgLBVx-cV9UjnsyCHM,381
256
256
  tests/qdrant/test_qdrant.py,sha256=pzjAjVY2kmsmGfrI2Gs2xrolfuaNHz7l1fqGQCjp5_o,3353
257
- langtrace_python_sdk-3.3.1.dist-info/METADATA,sha256=S13-jNowYfopmvPCqaqKnazad-r6iOp_DNop-VrgAps,15996
258
- langtrace_python_sdk-3.3.1.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
259
- langtrace_python_sdk-3.3.1.dist-info/entry_points.txt,sha256=1_b9-qvf2fE7uQNZcbUei9vLpFZBbbh9LrtGw95ssAo,70
260
- langtrace_python_sdk-3.3.1.dist-info/licenses/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
261
- langtrace_python_sdk-3.3.1.dist-info/RECORD,,
257
+ langtrace_python_sdk-3.3.2.dist-info/METADATA,sha256=9okCBfH1pQOf1Kwq0JspTVZ-NAeXy5aMUcvmbsHfKtE,15996
258
+ langtrace_python_sdk-3.3.2.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
259
+ langtrace_python_sdk-3.3.2.dist-info/entry_points.txt,sha256=1_b9-qvf2fE7uQNZcbUei9vLpFZBbbh9LrtGw95ssAo,70
260
+ langtrace_python_sdk-3.3.2.dist-info/licenses/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
261
+ langtrace_python_sdk-3.3.2.dist-info/RECORD,,