dbos 1.13.0a8__py3-none-any.whl → 1.13.2__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/_client.py +1 -1
- dbos/_sys_db.py +6 -1
- {dbos-1.13.0a8.dist-info → dbos-1.13.2.dist-info}/METADATA +1 -1
- {dbos-1.13.0a8.dist-info → dbos-1.13.2.dist-info}/RECORD +7 -7
- {dbos-1.13.0a8.dist-info → dbos-1.13.2.dist-info}/WHEEL +0 -0
- {dbos-1.13.0a8.dist-info → dbos-1.13.2.dist-info}/entry_points.txt +0 -0
- {dbos-1.13.0a8.dist-info → dbos-1.13.2.dist-info}/licenses/LICENSE +0 -0
dbos/_client.py
CHANGED
|
@@ -241,7 +241,7 @@ class DBOSClient:
|
|
|
241
241
|
return WorkflowHandleClientPolling[R](workflow_id, self._sys_db)
|
|
242
242
|
|
|
243
243
|
async def retrieve_workflow_async(self, workflow_id: str) -> WorkflowHandleAsync[R]:
|
|
244
|
-
status = asyncio.to_thread(get_workflow, self._sys_db, workflow_id)
|
|
244
|
+
status = await asyncio.to_thread(get_workflow, self._sys_db, workflow_id)
|
|
245
245
|
if status is None:
|
|
246
246
|
raise DBOSNonExistentWorkflowError(workflow_id)
|
|
247
247
|
return WorkflowHandleClientAsyncPolling[R](workflow_id, self._sys_db)
|
dbos/_sys_db.py
CHANGED
|
@@ -1901,8 +1901,13 @@ class SystemDatabase(ABC):
|
|
|
1901
1901
|
)
|
|
1902
1902
|
if self._debug_mode and recorded_output is None:
|
|
1903
1903
|
raise Exception(
|
|
1904
|
-
"called
|
|
1904
|
+
"called writeStream in debug mode without a previous execution"
|
|
1905
1905
|
)
|
|
1906
|
+
if recorded_output is not None:
|
|
1907
|
+
dbos_logger.debug(
|
|
1908
|
+
f"Replaying writeStream, id: {function_id}, key: {key}"
|
|
1909
|
+
)
|
|
1910
|
+
return
|
|
1906
1911
|
# Find the maximum offset for this workflow_uuid and key combination
|
|
1907
1912
|
max_offset_result = c.execute(
|
|
1908
1913
|
sa.select(sa.func.max(SystemSchema.streams.c.offset)).where(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
dbos-1.13.
|
|
2
|
-
dbos-1.13.
|
|
3
|
-
dbos-1.13.
|
|
4
|
-
dbos-1.13.
|
|
1
|
+
dbos-1.13.2.dist-info/METADATA,sha256=dK_pahfUZmOGGZjMEFVT6EVi_zyzIN6oWLtQKGqERjk,13266
|
|
2
|
+
dbos-1.13.2.dist-info/WHEEL,sha256=9P2ygRxDrTJz3gsagc0Z96ukrxjr-LFBGOgv3AuKlCA,90
|
|
3
|
+
dbos-1.13.2.dist-info/entry_points.txt,sha256=_QOQ3tVfEjtjBlr1jS4sHqHya9lI2aIEIWkz8dqYp14,58
|
|
4
|
+
dbos-1.13.2.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
7
|
dbos/_admin_server.py,sha256=e8ELhcDWqR3_PNobnNgUvLGh5lzZq0yFSF6dvtzoQRI,16267
|
|
@@ -24,7 +24,7 @@ dbos/_alembic_migrations/versions/eab0cc1d9a14_job_queue.py,sha256=uvhFOtqbBreCe
|
|
|
24
24
|
dbos/_alembic_migrations/versions/f4b9b32ba814_functionname_childid_op_outputs.py,sha256=m90Lc5YH0ZISSq1MyxND6oq3RZrZKrIqEsZtwJ1jWxA,1049
|
|
25
25
|
dbos/_app_db.py,sha256=GsV-uYU0QsChWwQDxnrh8_iiZ_zMQB-bsP2jPGIe2aM,16094
|
|
26
26
|
dbos/_classproperty.py,sha256=f0X-_BySzn3yFDRKB2JpCbLYQ9tLwt1XftfshvY7CBs,626
|
|
27
|
-
dbos/_client.py,sha256=
|
|
27
|
+
dbos/_client.py,sha256=_3Wc2QQc5VDcBuJ3cNb-lWg439OuITo2ex4Y7qb9l44,18800
|
|
28
28
|
dbos/_conductor/conductor.py,sha256=3E_hL3c9g9yWqKZkvI6KA0-ZzPMPRo06TOzT1esMiek,24114
|
|
29
29
|
dbos/_conductor/protocol.py,sha256=q3rgLxINFtWFigdOONc-4gX4vn66UmMlJQD6Kj8LnL4,7420
|
|
30
30
|
dbos/_context.py,sha256=IMboNgbCqTxfIORqeifE3da-Ce5siMz7MYMLPk5M-AQ,26851
|
|
@@ -52,7 +52,7 @@ dbos/_schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
52
52
|
dbos/_schemas/application_database.py,sha256=SypAS9l9EsaBHFn9FR8jmnqt01M74d9AF1AMa4m2hhI,1040
|
|
53
53
|
dbos/_schemas/system_database.py,sha256=-dAKk-_Y3vzbpLT4ei-sIrBQgFyQiwPj1enZb1TYc8I,4943
|
|
54
54
|
dbos/_serialization.py,sha256=bWuwhXSQcGmiazvhJHA5gwhrRWxtmFmcCFQSDJnqqkU,3666
|
|
55
|
-
dbos/_sys_db.py,sha256=
|
|
55
|
+
dbos/_sys_db.py,sha256=4G_EMtyiXpVj1T8_GNOehXI84gHQxELco1C-Vh_T4RQ,81954
|
|
56
56
|
dbos/_sys_db_postgres.py,sha256=WcG-f1CUzUNBGEOjqKEp6DDraN63jTnJ6CAfieCcxOs,7555
|
|
57
57
|
dbos/_sys_db_sqlite.py,sha256=xT9l-czMhLmfuu5UcnBzAyUxSFgzt3XtEWx9t_D8mZs,7361
|
|
58
58
|
dbos/_templates/dbos-db-starter/README.md,sha256=GhxhBj42wjTt1fWEtwNriHbJuKb66Vzu89G4pxNHw2g,930
|
|
@@ -75,4 +75,4 @@ dbos/cli/migration.py,sha256=5GiyagLZkyVvDz3StYxtFdkFoKFCmh6eSXjzsIGhZ_A,3330
|
|
|
75
75
|
dbos/dbos-config.schema.json,sha256=LyUT1DOTaAwOP6suxQGS5KemVIqXGPyu_q7Hbo0neA8,6192
|
|
76
76
|
dbos/py.typed,sha256=QfzXT1Ktfk3Rj84akygc7_42z0lRpCq0Ilh8OXI6Zas,44
|
|
77
77
|
version/__init__.py,sha256=L4sNxecRuqdtSFdpUGX3TtBi9KL3k7YsZVIvv-fv9-A,1678
|
|
78
|
-
dbos-1.13.
|
|
78
|
+
dbos-1.13.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|