langtrace-python-sdk 2.0.6__py3-none-any.whl → 2.0.7__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- langtrace_python_sdk/langtrace.py +23 -18
- langtrace_python_sdk/version.py +1 -1
- {langtrace_python_sdk-2.0.6.dist-info → langtrace_python_sdk-2.0.7.dist-info}/METADATA +1 -1
- {langtrace_python_sdk-2.0.6.dist-info → langtrace_python_sdk-2.0.7.dist-info}/RECORD +6 -6
- {langtrace_python_sdk-2.0.6.dist-info → langtrace_python_sdk-2.0.7.dist-info}/WHEEL +0 -0
- {langtrace_python_sdk-2.0.6.dist-info → langtrace_python_sdk-2.0.7.dist-info}/licenses/LICENSE +0 -0
|
@@ -128,24 +128,29 @@ def init_instrumentations(
|
|
|
128
128
|
if disable_instrumentations is None:
|
|
129
129
|
for _, v in all_instrumentations.items():
|
|
130
130
|
v.instrument()
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
for
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
131
|
+
else:
|
|
132
|
+
|
|
133
|
+
validate_instrumentations(disable_instrumentations)
|
|
134
|
+
|
|
135
|
+
for key in disable_instrumentations:
|
|
136
|
+
for vendor in disable_instrumentations[key]:
|
|
137
|
+
if key == "only":
|
|
138
|
+
filtered_dict = {
|
|
139
|
+
k: v
|
|
140
|
+
for k, v in all_instrumentations.items()
|
|
141
|
+
if k != vendor.value
|
|
142
|
+
}
|
|
143
|
+
for _, v in filtered_dict.items():
|
|
144
|
+
v.instrument()
|
|
145
|
+
else:
|
|
146
|
+
filtered_dict = {
|
|
147
|
+
k: v
|
|
148
|
+
for k, v in all_instrumentations.items()
|
|
149
|
+
if k == vendor.value
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
for _, v in filtered_dict.items():
|
|
153
|
+
v.instrument()
|
|
149
154
|
|
|
150
155
|
|
|
151
156
|
def validate_instrumentations(disable_instrumentations):
|
langtrace_python_sdk/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "2.0.
|
|
1
|
+
__version__ = "2.0.7"
|
|
@@ -36,8 +36,8 @@ examples/pinecone_example/basic.py,sha256=9IWMoMLozMTpxjY8BFBg2EpUNY5dDjU1xocEG9
|
|
|
36
36
|
examples/qdrant_example/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
37
37
|
examples/qdrant_example/basic.py,sha256=DCMjHSuBZKkhEjCkwy5d5La9WMyW0lCWqtcZWiFCEm4,1425
|
|
38
38
|
langtrace_python_sdk/__init__.py,sha256=q2TAsxGIv4wFIQA7G-HGxlnzO89bhPU5TgI42sPHLj0,740
|
|
39
|
-
langtrace_python_sdk/langtrace.py,sha256=
|
|
40
|
-
langtrace_python_sdk/version.py,sha256=
|
|
39
|
+
langtrace_python_sdk/langtrace.py,sha256=285nu16mkIlJ9dXKD497OuehAQppOBB-dCCBdsbz8fA,6724
|
|
40
|
+
langtrace_python_sdk/version.py,sha256=L4aOgvDE9n_eqL_mM_j5bO3bQ73q6ulNpnVuG8OmqWE,22
|
|
41
41
|
langtrace_python_sdk/constants/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
42
42
|
langtrace_python_sdk/constants/exporter/langtrace_exporter.py,sha256=5MNjnAOg-4am78J3gVMH6FSwq5N8TOj72ugkhsw4vi0,46
|
|
43
43
|
langtrace_python_sdk/constants/instrumentation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -122,7 +122,7 @@ tests/openai/cassettes/test_chat_completion.yaml,sha256=YkNFgK9VHAzNqGWuxFcTiE19
|
|
|
122
122
|
tests/openai/cassettes/test_chat_completion_streaming.yaml,sha256=nkx_TemQMYSZxUF_b-LCEFwCRDm0AkQHLf4sdJVuZBw,2592394
|
|
123
123
|
tests/openai/cassettes/test_image_generation.yaml,sha256=gn5aSVp6V6_hb_rt2NnkAWd_idzDxo-7VzhZII0Wslw,3562
|
|
124
124
|
tests/pinecone/test_pinecone.py,sha256=iFuAqzbfrxHzH_J2kDCbezqYv1m-yeQiHiO3rMKTuYc,2735
|
|
125
|
-
langtrace_python_sdk-2.0.
|
|
126
|
-
langtrace_python_sdk-2.0.
|
|
127
|
-
langtrace_python_sdk-2.0.
|
|
128
|
-
langtrace_python_sdk-2.0.
|
|
125
|
+
langtrace_python_sdk-2.0.7.dist-info/METADATA,sha256=NqVxfKgYjWHUQN7Uv3QStLXwOrhSQLbEceYWyYAZOH0,9582
|
|
126
|
+
langtrace_python_sdk-2.0.7.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
|
|
127
|
+
langtrace_python_sdk-2.0.7.dist-info/licenses/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
|
128
|
+
langtrace_python_sdk-2.0.7.dist-info/RECORD,,
|
|
File without changes
|
{langtrace_python_sdk-2.0.6.dist-info → langtrace_python_sdk-2.0.7.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|