langtrace-python-sdk 1.1.18__py3-none-any.whl → 1.1.20__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/extensions/langtrace_exporter.py +2 -2
- {langtrace_python_sdk-1.1.18.dist-info → langtrace_python_sdk-1.1.20.dist-info}/METADATA +1 -2
- {langtrace_python_sdk-1.1.18.dist-info → langtrace_python_sdk-1.1.20.dist-info}/RECORD +6 -6
- {langtrace_python_sdk-1.1.18.dist-info → langtrace_python_sdk-1.1.20.dist-info}/LICENSE +0 -0
- {langtrace_python_sdk-1.1.18.dist-info → langtrace_python_sdk-1.1.20.dist-info}/WHEEL +0 -0
- {langtrace_python_sdk-1.1.18.dist-info → langtrace_python_sdk-1.1.20.dist-info}/top_level.txt +0 -0
|
@@ -56,10 +56,10 @@ class LangTraceExporter(SpanExporter):
|
|
|
56
56
|
self.url = url if url else os.environ.get("URL")
|
|
57
57
|
self.write_to_remote_url = write_to_remote_url
|
|
58
58
|
|
|
59
|
-
if
|
|
59
|
+
if self.write_to_remote_url and not self.api_key:
|
|
60
60
|
raise ValueError("No API key provided")
|
|
61
61
|
|
|
62
|
-
if
|
|
62
|
+
if self.write_to_remote_url and not self.url:
|
|
63
63
|
raise ValueError("No URL provided")
|
|
64
64
|
|
|
65
65
|
def export(self, spans: typing.Sequence[ReadableSpan]) -> SpanExportResult:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: langtrace-python-sdk
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.20
|
|
4
4
|
Summary: Python SDK for LangTrace
|
|
5
5
|
Home-page: https://github.com/Scale3-Labs/langtrace-python-sdk
|
|
6
6
|
Author: Scale3 Labs
|
|
@@ -68,7 +68,6 @@ Requires-Dist: langchain-core ==0.1.27
|
|
|
68
68
|
Requires-Dist: langchain-openai ==0.0.7
|
|
69
69
|
Requires-Dist: langchainhub ==0.1.14
|
|
70
70
|
Requires-Dist: langsmith ==0.1.9
|
|
71
|
-
Requires-Dist: langtrace-python-sdk ==1.1.3
|
|
72
71
|
Requires-Dist: llama-index ==0.10.13.post1
|
|
73
72
|
Requires-Dist: llama-index-agent-openai ==0.1.5
|
|
74
73
|
Requires-Dist: llama-index-cli ==0.1.5
|
|
@@ -25,7 +25,7 @@ langtrace_python_sdk/constants/instrumentation/common.py,sha256=6sy6Am2sd-yJ-3ZI
|
|
|
25
25
|
langtrace_python_sdk/constants/instrumentation/openai.py,sha256=9VF6ic9Ed3bpSvdp6iNmrpx2Ppo6DPav3hoUcqSQSv0,1048
|
|
26
26
|
langtrace_python_sdk/constants/instrumentation/pinecone.py,sha256=Xaqqw-xBO0JJLGk75hiCUQGztNm0HiVaLQvjtYK7VJM,472
|
|
27
27
|
langtrace_python_sdk/extensions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
28
|
-
langtrace_python_sdk/extensions/langtrace_exporter.py,sha256=
|
|
28
|
+
langtrace_python_sdk/extensions/langtrace_exporter.py,sha256=MjTyRwDvtNQKIkpgPscu79cAFwhxsUq8BOsWIAzxl8w,4345
|
|
29
29
|
langtrace_python_sdk/instrumentation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
30
30
|
langtrace_python_sdk/instrumentation/anthropic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
31
31
|
langtrace_python_sdk/instrumentation/anthropic/instrumentation.py,sha256=1shNkDE7Yb-JFVlEZHMcDbJ6zW8SkSFdxf_yFo9wTNA,1101
|
|
@@ -54,8 +54,8 @@ langtrace_python_sdk/instrumentation/pinecone/patch.py,sha256=uDKUBjyOVCDL44YxXV
|
|
|
54
54
|
langtrace_python_sdk/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
55
55
|
langtrace_python_sdk/utils/llm.py,sha256=4z2e-md_ELXCEuOIRVWracR6qH2pmsOxCqpkuF9_3Nw,1589
|
|
56
56
|
langtrace_python_sdk/utils/with_root_span.py,sha256=LgFVwHq7KZ6sj2d783NZXr2fFWqI1rqVWSjJR68Ad1E,1044
|
|
57
|
-
langtrace_python_sdk-1.1.
|
|
58
|
-
langtrace_python_sdk-1.1.
|
|
59
|
-
langtrace_python_sdk-1.1.
|
|
60
|
-
langtrace_python_sdk-1.1.
|
|
61
|
-
langtrace_python_sdk-1.1.
|
|
57
|
+
langtrace_python_sdk-1.1.20.dist-info/LICENSE,sha256=VD-pauwiiia-Xi2zgKvalKRIFSJJjqRCQw6aIpK2T9U,33892
|
|
58
|
+
langtrace_python_sdk-1.1.20.dist-info/METADATA,sha256=VJjjJem71pt-5VrDhgyqZ4sk3_osO2P5rcBeFPoOILQ,8131
|
|
59
|
+
langtrace_python_sdk-1.1.20.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
60
|
+
langtrace_python_sdk-1.1.20.dist-info/top_level.txt,sha256=rwET8cHATJvDBti7Dm6pwWIrNAT8DvqCXgRPWdu7_Hs,30
|
|
61
|
+
langtrace_python_sdk-1.1.20.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
{langtrace_python_sdk-1.1.18.dist-info → langtrace_python_sdk-1.1.20.dist-info}/top_level.txt
RENAMED
|
File without changes
|