dbos 0.9.0a1__py3-none-any.whl → 0.10.0a0__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/dbos-config.schema.json +4 -0
- dbos/dbos.py +4 -1
- dbos/dbos_config.py +1 -0
- {dbos-0.9.0a1.dist-info → dbos-0.10.0a0.dist-info}/METADATA +1 -1
- {dbos-0.9.0a1.dist-info → dbos-0.10.0a0.dist-info}/RECORD +8 -8
- {dbos-0.9.0a1.dist-info → dbos-0.10.0a0.dist-info}/WHEEL +1 -1
- {dbos-0.9.0a1.dist-info → dbos-0.10.0a0.dist-info}/entry_points.txt +0 -0
- {dbos-0.9.0a1.dist-info → dbos-0.10.0a0.dist-info}/licenses/LICENSE +0 -0
dbos/dbos-config.schema.json
CHANGED
|
@@ -140,6 +140,10 @@
|
|
|
140
140
|
"start": {
|
|
141
141
|
"type": "array",
|
|
142
142
|
"description": "Specify commands to run to start your application (Python only)"
|
|
143
|
+
},
|
|
144
|
+
"admin_port": {
|
|
145
|
+
"type": "number",
|
|
146
|
+
"description": "The port number of the admin server (Default: 3001)"
|
|
143
147
|
}
|
|
144
148
|
}
|
|
145
149
|
},
|
dbos/dbos.py
CHANGED
|
@@ -348,7 +348,10 @@ class DBOS:
|
|
|
348
348
|
self._executor_field = ThreadPoolExecutor(max_workers=64)
|
|
349
349
|
self._sys_db_field = SystemDatabase(self.config)
|
|
350
350
|
self._app_db_field = ApplicationDatabase(self.config)
|
|
351
|
-
|
|
351
|
+
admin_port = self.config["runtimeConfig"].get("admin_port")
|
|
352
|
+
if admin_port is None:
|
|
353
|
+
admin_port = 3001
|
|
354
|
+
self._admin_server_field = AdminServer(dbos=self, port=admin_port)
|
|
352
355
|
|
|
353
356
|
if not os.environ.get("DBOS__VMID"):
|
|
354
357
|
workflow_ids = self._sys_db.get_pending_workflows("local")
|
dbos/dbos_config.py
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
dbos-0.
|
|
2
|
-
dbos-0.
|
|
3
|
-
dbos-0.
|
|
4
|
-
dbos-0.
|
|
1
|
+
dbos-0.10.0a0.dist-info/METADATA,sha256=FEfBGlLfqpbRZarM5k8mvPgknl7GqLwujJKDluVrA_k,5011
|
|
2
|
+
dbos-0.10.0a0.dist-info/WHEEL,sha256=pM0IBB6ZwH3nkEPhtcp50KvKNX-07jYtnb1g1m6Z4Co,90
|
|
3
|
+
dbos-0.10.0a0.dist-info/entry_points.txt,sha256=z6GcVANQV7Uw_82H9Ob2axJX6V3imftyZsljdh-M1HU,54
|
|
4
|
+
dbos-0.10.0a0.dist-info/licenses/LICENSE,sha256=VGZit_a5-kdw9WT6fY5jxAWVwGQzgLFyPWrcVVUhVNU,1067
|
|
5
5
|
dbos/__init__.py,sha256=-h1QgWNL11CiLlHEKa2ycAJVJw5SXYZ4BGNNWBAiE9k,726
|
|
6
6
|
dbos/admin_sever.py,sha256=Qg5T3YRrbPW05PR_99yAaxgo1ugQrAp_uTeTqSfjm_k,3397
|
|
7
7
|
dbos/application_database.py,sha256=knFK8We8y6WrIpnFCKvFq5hvSuFQqUuJqOqDpSVMCPI,5521
|
|
8
8
|
dbos/cli.py,sha256=z5dXbbnGWzSC3E1rfS8Lp1_OIImzcDKM7jP-iu_Q4aI,8602
|
|
9
9
|
dbos/context.py,sha256=4MsxZdoh1WIsgoUsaxo0B6caGN6xq2WC60MzbBppzGk,17738
|
|
10
10
|
dbos/core.py,sha256=ggsRC2XicvNI1qqruEFoqxoTU5oSSnhMZvDih3AG_3A,30879
|
|
11
|
-
dbos/dbos-config.schema.json,sha256=
|
|
12
|
-
dbos/dbos.py,sha256=
|
|
13
|
-
dbos/dbos_config.py,sha256=
|
|
11
|
+
dbos/dbos-config.schema.json,sha256=kshzCdX6fXW7yqRiMz9a324HLe76IrPeRDgzcAbgck0,5481
|
|
12
|
+
dbos/dbos.py,sha256=Gpfhpy-fFQh0nYbTTOabfOKD42Gpl72zgVuzzaCURtI,30015
|
|
13
|
+
dbos/dbos_config.py,sha256=r-epY2JSSyqsZVEYKf-lPs6aQUsZaSDC-Js1HHR84kY,5382
|
|
14
14
|
dbos/decorators.py,sha256=lbPefsLK6Cya4cb7TrOcLglOpGT3pc6qjZdsQKlfZLg,629
|
|
15
15
|
dbos/error.py,sha256=UETk8CoZL-TO2Utn1-E7OSWelhShWmKM-fOlODMR9PE,3893
|
|
16
16
|
dbos/fastapi.py,sha256=gx9hlpxYOiwbuhSlbY9bn5C-F_FsCbrJvkX9ZAvDG6U,3418
|
|
@@ -51,4 +51,4 @@ dbos/templates/hello/start_postgres_docker.py,sha256=lQVLlYO5YkhGPEgPqwGc7Y8uDKs
|
|
|
51
51
|
dbos/tracer.py,sha256=GaXDhdKKF_IQp5SAMipGXiDVwteRKjNbrXyYCH1mor0,2520
|
|
52
52
|
dbos/utils.py,sha256=lwRymY-y7GprAS8pKmbICQvOJd5eGxKGTxCMFn0OwaQ,1739
|
|
53
53
|
version/__init__.py,sha256=L4sNxecRuqdtSFdpUGX3TtBi9KL3k7YsZVIvv-fv9-A,1678
|
|
54
|
-
dbos-0.
|
|
54
|
+
dbos-0.10.0a0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|