threadify-sdk 0.2.1__tar.gz → 0.2.2__tar.gz
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.
- {threadify_sdk-0.2.1/threadify_sdk.egg-info → threadify_sdk-0.2.2}/PKG-INFO +2 -2
- {threadify_sdk-0.2.1 → threadify_sdk-0.2.2}/README.md +1 -1
- {threadify_sdk-0.2.1 → threadify_sdk-0.2.2}/pyproject.toml +1 -1
- {threadify_sdk-0.2.1 → threadify_sdk-0.2.2}/threadify/otel_exporter.py +1 -1
- {threadify_sdk-0.2.1 → threadify_sdk-0.2.2}/threadify/thread.py +1 -1
- {threadify_sdk-0.2.1 → threadify_sdk-0.2.2/threadify_sdk.egg-info}/PKG-INFO +2 -2
- {threadify_sdk-0.2.1 → threadify_sdk-0.2.2}/CHANGELOG.md +0 -0
- {threadify_sdk-0.2.1 → threadify_sdk-0.2.2}/LICENSE +0 -0
- {threadify_sdk-0.2.1 → threadify_sdk-0.2.2}/MANIFEST.in +0 -0
- {threadify_sdk-0.2.1 → threadify_sdk-0.2.2}/setup.cfg +0 -0
- {threadify_sdk-0.2.1 → threadify_sdk-0.2.2}/tests/test_client.py +0 -0
- {threadify_sdk-0.2.1 → threadify_sdk-0.2.2}/tests/test_connection.py +0 -0
- {threadify_sdk-0.2.1 → threadify_sdk-0.2.2}/tests/test_data_retriever.py +0 -0
- {threadify_sdk-0.2.1 → threadify_sdk-0.2.2}/tests/test_models.py +0 -0
- {threadify_sdk-0.2.1 → threadify_sdk-0.2.2}/tests/test_notification.py +0 -0
- {threadify_sdk-0.2.1 → threadify_sdk-0.2.2}/tests/test_step.py +0 -0
- {threadify_sdk-0.2.1 → threadify_sdk-0.2.2}/tests/test_thread.py +0 -0
- {threadify_sdk-0.2.1 → threadify_sdk-0.2.2}/threadify/__init__.py +0 -0
- {threadify_sdk-0.2.1 → threadify_sdk-0.2.2}/threadify/client.py +0 -0
- {threadify_sdk-0.2.1 → threadify_sdk-0.2.2}/threadify/connection.py +0 -0
- {threadify_sdk-0.2.1 → threadify_sdk-0.2.2}/threadify/data_retriever.py +0 -0
- {threadify_sdk-0.2.1 → threadify_sdk-0.2.2}/threadify/models.py +0 -0
- {threadify_sdk-0.2.1 → threadify_sdk-0.2.2}/threadify/notification.py +0 -0
- {threadify_sdk-0.2.1 → threadify_sdk-0.2.2}/threadify/step.py +0 -0
- {threadify_sdk-0.2.1 → threadify_sdk-0.2.2}/threadify_sdk.egg-info/SOURCES.txt +0 -0
- {threadify_sdk-0.2.1 → threadify_sdk-0.2.2}/threadify_sdk.egg-info/dependency_links.txt +0 -0
- {threadify_sdk-0.2.1 → threadify_sdk-0.2.2}/threadify_sdk.egg-info/requires.txt +0 -0
- {threadify_sdk-0.2.1 → threadify_sdk-0.2.2}/threadify_sdk.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: threadify-sdk
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Python SDK for Threadify — service-delivery intelligence. Track every customer request from start to finish across every system, team, and partner. Visit: https://threadify.dev
|
|
5
5
|
Author-email: Threadify Team <team@threadify.dev>
|
|
6
6
|
License: MIT
|
|
@@ -63,7 +63,7 @@ async def main():
|
|
|
63
63
|
return
|
|
64
64
|
|
|
65
65
|
try:
|
|
66
|
-
thread = await conn.start(
|
|
66
|
+
thread = await conn.start("Order-123")
|
|
67
67
|
|
|
68
68
|
# Easy chaining!
|
|
69
69
|
await (
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "threadify-sdk"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.2"
|
|
8
8
|
description = "Python SDK for Threadify — service-delivery intelligence. Track every customer request from start to finish across every system, team, and partner. Visit: https://threadify.dev"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -50,7 +50,7 @@ class ThreadifySpanExporter(_SpanExporterBase):
|
|
|
50
50
|
from threadify import Threadify
|
|
51
51
|
|
|
52
52
|
conn = await Threadify.connect("api-key", service_name="my-service", ...)
|
|
53
|
-
thread = await conn.start(
|
|
53
|
+
thread = await conn.start("Order-123")
|
|
54
54
|
|
|
55
55
|
exporter = thread.create_span_exporter(options={"refs": ["orderId"]})
|
|
56
56
|
|
|
@@ -50,7 +50,7 @@ class ThreadInstance:
|
|
|
50
50
|
|
|
51
51
|
Usage::
|
|
52
52
|
|
|
53
|
-
thread = await conn.start(
|
|
53
|
+
thread = await conn.start("Order-123")
|
|
54
54
|
step = thread.step("order_placed")
|
|
55
55
|
result = await step.add_context({"orderId": "ORD-123"}).success("Order received")
|
|
56
56
|
await thread.complete("All done")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: threadify-sdk
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Python SDK for Threadify — service-delivery intelligence. Track every customer request from start to finish across every system, team, and partner. Visit: https://threadify.dev
|
|
5
5
|
Author-email: Threadify Team <team@threadify.dev>
|
|
6
6
|
License: MIT
|
|
@@ -63,7 +63,7 @@ async def main():
|
|
|
63
63
|
return
|
|
64
64
|
|
|
65
65
|
try:
|
|
66
|
-
thread = await conn.start(
|
|
66
|
+
thread = await conn.start("Order-123")
|
|
67
67
|
|
|
68
68
|
# Easy chaining!
|
|
69
69
|
await (
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|