dbos 1.7.0a3__py3-none-any.whl → 1.7.0a4__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.
- dbos/_admin_server.py +6 -2
- {dbos-1.7.0a3.dist-info → dbos-1.7.0a4.dist-info}/METADATA +1 -1
- {dbos-1.7.0a3.dist-info → dbos-1.7.0a4.dist-info}/RECORD +6 -6
- {dbos-1.7.0a3.dist-info → dbos-1.7.0a4.dist-info}/WHEEL +0 -0
- {dbos-1.7.0a3.dist-info → dbos-1.7.0a4.dist-info}/entry_points.txt +0 -0
- {dbos-1.7.0a3.dist-info → dbos-1.7.0a4.dist-info}/licenses/LICENSE +0 -0
dbos/_admin_server.py
CHANGED
@@ -3,7 +3,6 @@ from __future__ import annotations
|
|
3
3
|
import json
|
4
4
|
import re
|
5
5
|
import threading
|
6
|
-
from dataclasses import asdict
|
7
6
|
from functools import partial
|
8
7
|
from http.server import BaseHTTPRequestHandler, ThreadingHTTPServer
|
9
8
|
from typing import TYPE_CHECKING, Any, Dict, List, Optional, TypedDict
|
@@ -120,7 +119,12 @@ class AdminRequestHandler(BaseHTTPRequestHandler):
|
|
120
119
|
self.send_response(404)
|
121
120
|
self._end_headers()
|
122
121
|
return
|
123
|
-
|
122
|
+
workflow_output = (
|
123
|
+
conductor_protocol.WorkflowsOutput.from_workflow_information(
|
124
|
+
workflows[0]
|
125
|
+
)
|
126
|
+
)
|
127
|
+
response_body = json.dumps(workflow_output.__dict__).encode("utf-8")
|
124
128
|
self.send_response(200)
|
125
129
|
self.send_header("Content-Type", "application/json")
|
126
130
|
self.send_header("Content-Length", str(len(response_body)))
|
@@ -1,10 +1,10 @@
|
|
1
|
-
dbos-1.7.
|
2
|
-
dbos-1.7.
|
3
|
-
dbos-1.7.
|
4
|
-
dbos-1.7.
|
1
|
+
dbos-1.7.0a4.dist-info/METADATA,sha256=s1pQFDHT0xax4n0bDYbDdKI93aYpnpxy-Mfy3qrRctE,13267
|
2
|
+
dbos-1.7.0a4.dist-info/WHEEL,sha256=tSfRZzRHthuv7vxpI4aehrdN9scLjk-dCJkPLzkHxGg,90
|
3
|
+
dbos-1.7.0a4.dist-info/entry_points.txt,sha256=_QOQ3tVfEjtjBlr1jS4sHqHya9lI2aIEIWkz8dqYp14,58
|
4
|
+
dbos-1.7.0a4.dist-info/licenses/LICENSE,sha256=VGZit_a5-kdw9WT6fY5jxAWVwGQzgLFyPWrcVVUhVNU,1067
|
5
5
|
dbos/__init__.py,sha256=NssPCubaBxdiKarOWa-wViz1hdJSkmBGcpLX_gQ4NeA,891
|
6
6
|
dbos/__main__.py,sha256=G7Exn-MhGrVJVDbgNlpzhfh8WMX_72t3_oJaFT9Lmt8,653
|
7
|
-
dbos/_admin_server.py,sha256=
|
7
|
+
dbos/_admin_server.py,sha256=S2hFr3m5R3WkbOp3Yz9lWt5iLBfWPnvhYwYLokVax0A,16094
|
8
8
|
dbos/_app_db.py,sha256=htblDPfqrpb_uZoFcvaud7cgQ-PDyn6Bn-cBidxdCTA,10603
|
9
9
|
dbos/_classproperty.py,sha256=f0X-_BySzn3yFDRKB2JpCbLYQ9tLwt1XftfshvY7CBs,626
|
10
10
|
dbos/_client.py,sha256=DeiJHo5fTedWsipr7qlQQIcDmVAPjzzX94X01121oQM,14780
|
@@ -69,4 +69,4 @@ dbos/cli/cli.py,sha256=IcfaX4rrSrk6f24S2jrlR33snYMyNyEIx_lNQtuVr2E,22081
|
|
69
69
|
dbos/dbos-config.schema.json,sha256=CjaspeYmOkx6Ip_pcxtmfXJTn_YGdSx_0pcPBF7KZmo,6060
|
70
70
|
dbos/py.typed,sha256=QfzXT1Ktfk3Rj84akygc7_42z0lRpCq0Ilh8OXI6Zas,44
|
71
71
|
version/__init__.py,sha256=L4sNxecRuqdtSFdpUGX3TtBi9KL3k7YsZVIvv-fv9-A,1678
|
72
|
-
dbos-1.7.
|
72
|
+
dbos-1.7.0a4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|