dbos 0.24.0a12__py3-none-any.whl → 0.24.0a13__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.
Potentially problematic release.
This version of dbos might be problematic. Click here for more details.
- dbos/_conductor/conductor.py +2 -0
- dbos/_conductor/protocol.py +3 -0
- {dbos-0.24.0a12.dist-info → dbos-0.24.0a13.dist-info}/METADATA +1 -1
- {dbos-0.24.0a12.dist-info → dbos-0.24.0a13.dist-info}/RECORD +7 -7
- {dbos-0.24.0a12.dist-info → dbos-0.24.0a13.dist-info}/WHEEL +0 -0
- {dbos-0.24.0a12.dist-info → dbos-0.24.0a13.dist-info}/entry_points.txt +0 -0
- {dbos-0.24.0a12.dist-info → dbos-0.24.0a13.dist-info}/licenses/LICENSE +0 -0
dbos/_conductor/conductor.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import socket
|
|
1
2
|
import threading
|
|
2
3
|
import time
|
|
3
4
|
import traceback
|
|
@@ -51,6 +52,7 @@ class ConductorWebsocket(threading.Thread):
|
|
|
51
52
|
request_id=base_message.request_id,
|
|
52
53
|
executor_id=GlobalParams.executor_id,
|
|
53
54
|
application_version=GlobalParams.app_version,
|
|
55
|
+
hostname=socket.gethostname(),
|
|
54
56
|
)
|
|
55
57
|
websocket.send(info_response.to_json())
|
|
56
58
|
self.dbos.logger.info("Connected to DBOS conductor")
|
dbos/_conductor/protocol.py
CHANGED
|
@@ -59,6 +59,7 @@ class ExecutorInfoRequest(BaseMessage):
|
|
|
59
59
|
class ExecutorInfoResponse(BaseMessage):
|
|
60
60
|
executor_id: str
|
|
61
61
|
application_version: str
|
|
62
|
+
hostname: Optional[str]
|
|
62
63
|
error_message: Optional[str] = None
|
|
63
64
|
|
|
64
65
|
|
|
@@ -137,6 +138,7 @@ class WorkflowsOutput:
|
|
|
137
138
|
UpdatedAt: Optional[str]
|
|
138
139
|
QueueName: Optional[str]
|
|
139
140
|
ApplicationVersion: Optional[str]
|
|
141
|
+
ExecutorID: Optional[str]
|
|
140
142
|
|
|
141
143
|
@classmethod
|
|
142
144
|
def from_workflow_information(cls, info: WorkflowInformation) -> "WorkflowsOutput":
|
|
@@ -164,6 +166,7 @@ class WorkflowsOutput:
|
|
|
164
166
|
UpdatedAt=updated_at_str,
|
|
165
167
|
QueueName=info.queue_name,
|
|
166
168
|
ApplicationVersion=info.app_version,
|
|
169
|
+
ExecutorID=info.executor_id,
|
|
167
170
|
)
|
|
168
171
|
|
|
169
172
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
dbos-0.24.
|
|
2
|
-
dbos-0.24.
|
|
3
|
-
dbos-0.24.
|
|
4
|
-
dbos-0.24.
|
|
1
|
+
dbos-0.24.0a13.dist-info/METADATA,sha256=Lz0VnPK2diO10Q80VfTRXGsTwErfXnBt4rrq4y-vR7I,5522
|
|
2
|
+
dbos-0.24.0a13.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
|
|
3
|
+
dbos-0.24.0a13.dist-info/entry_points.txt,sha256=_QOQ3tVfEjtjBlr1jS4sHqHya9lI2aIEIWkz8dqYp14,58
|
|
4
|
+
dbos-0.24.0a13.dist-info/licenses/LICENSE,sha256=VGZit_a5-kdw9WT6fY5jxAWVwGQzgLFyPWrcVVUhVNU,1067
|
|
5
5
|
dbos/__init__.py,sha256=uq9LP5uY96kIS9N0yKqlvDwADmtg_Hl30uSUhyuUr-4,754
|
|
6
6
|
dbos/__main__.py,sha256=P7jAr-7L9XE5mrsQ7i4b-bLr2ap1tCQfhMByLCRWDj0,568
|
|
7
7
|
dbos/_admin_server.py,sha256=YiVn5lywz2Vg8_juyNHOYl0HVEy48--7b4phwK7r92o,5732
|
|
@@ -10,8 +10,8 @@ dbos/_classproperty.py,sha256=f0X-_BySzn3yFDRKB2JpCbLYQ9tLwt1XftfshvY7CBs,626
|
|
|
10
10
|
dbos/_cloudutils/authentication.py,sha256=V0fCWQN9stCkhbuuxgPTGpvuQcDqfU3KAxPAh01vKW4,5007
|
|
11
11
|
dbos/_cloudutils/cloudutils.py,sha256=YC7jGsIopT0KveLsqbRpQk2KlRBk-nIRC_UCgep4f3o,7797
|
|
12
12
|
dbos/_cloudutils/databases.py,sha256=_shqaqSvhY4n2ScgQ8IP5PDZvzvcx3YBKV8fj-cxhSY,8543
|
|
13
|
-
dbos/_conductor/conductor.py,sha256=
|
|
14
|
-
dbos/_conductor/protocol.py,sha256=
|
|
13
|
+
dbos/_conductor/conductor.py,sha256=bKf6uGch7Ea3Qdken24AE-kxg_trdmwOngyDiHSInuU,15189
|
|
14
|
+
dbos/_conductor/protocol.py,sha256=MWY3SuIeY6GN2Vg3wQjcxiT0d4zz4ccGzdEkmYYJ6t0,5633
|
|
15
15
|
dbos/_context.py,sha256=Ue5qu3rzLfRmPkz-UUZi9ZS8iXpapRN0NTM4mbA2QmQ,17738
|
|
16
16
|
dbos/_core.py,sha256=_a_rSkAWNLoHqzQbkqez0mpctkjDs301123ti3wmKHk,41340
|
|
17
17
|
dbos/_croniter.py,sha256=XHAyUyibs_59sJQfSNWkP7rqQY6_XrlfuuCxk4jYqek,47559
|
|
@@ -65,4 +65,4 @@ dbos/cli/cli.py,sha256=pet2vf4GLlSDfxfQbsplM9uewD6pJK2ZpLgZlwgBU5w,15627
|
|
|
65
65
|
dbos/dbos-config.schema.json,sha256=HtF_njVTGHLdzBGZ4OrGQz3qbPPT0Go-iwd1PgFVTNg,5847
|
|
66
66
|
dbos/py.typed,sha256=QfzXT1Ktfk3Rj84akygc7_42z0lRpCq0Ilh8OXI6Zas,44
|
|
67
67
|
version/__init__.py,sha256=L4sNxecRuqdtSFdpUGX3TtBi9KL3k7YsZVIvv-fv9-A,1678
|
|
68
|
-
dbos-0.24.
|
|
68
|
+
dbos-0.24.0a13.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|