dbos 0.25.0a13__tar.gz → 0.25.0a14__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.
- {dbos-0.25.0a13 → dbos-0.25.0a14}/PKG-INFO +1 -1
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_admin_server.py +11 -3
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_migrations/versions/f4b9b32ba814_functionname_childid_op_outputs.py +1 -1
- {dbos-0.25.0a13 → dbos-0.25.0a14}/pyproject.toml +1 -1
- {dbos-0.25.0a13 → dbos-0.25.0a14}/LICENSE +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/README.md +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/__init__.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/__main__.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_app_db.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_classproperty.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_cloudutils/authentication.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_cloudutils/cloudutils.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_cloudutils/databases.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_conductor/conductor.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_conductor/protocol.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_context.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_core.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_croniter.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_db_wizard.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_dbos.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_dbos_config.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_debug.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_error.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_fastapi.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_flask.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_kafka.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_kafka_message.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_logger.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_migrations/env.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_migrations/script.py.mako +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_migrations/versions/04ca4f231047_workflow_queues_executor_id.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_migrations/versions/50f3227f0b4b_fix_job_queue.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_migrations/versions/5c361fc04708_added_system_tables.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_migrations/versions/a3b18ad34abe_added_triggers.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_migrations/versions/d76646551a6b_job_queue_limiter.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_migrations/versions/d76646551a6c_workflow_queue.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_migrations/versions/eab0cc1d9a14_job_queue.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_outcome.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_queue.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_recovery.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_registrations.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_request.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_roles.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_scheduler.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_schemas/__init__.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_schemas/application_database.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_schemas/system_database.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_serialization.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_sys_db.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_templates/dbos-db-starter/README.md +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_templates/dbos-db-starter/__package/__init__.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_templates/dbos-db-starter/__package/main.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_templates/dbos-db-starter/__package/schema.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_templates/dbos-db-starter/alembic.ini +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_templates/dbos-db-starter/dbos-config.yaml.dbos +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_templates/dbos-db-starter/migrations/env.py.dbos +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_templates/dbos-db-starter/migrations/script.py.mako +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_templates/dbos-db-starter/migrations/versions/2024_07_31_180642_init.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_templates/dbos-db-starter/start_postgres_docker.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_tracer.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_utils.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_workflow_commands.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/cli/_github_init.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/cli/_template_init.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/cli/cli.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/dbos-config.schema.json +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/py.typed +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/tests/__init__.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/tests/atexit_no_ctor.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/tests/atexit_no_launch.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/tests/classdefs.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/tests/conftest.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/tests/more_classdefs.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/tests/queuedworkflow.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/tests/test_admin_server.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/tests/test_async.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/tests/test_classdecorators.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/tests/test_concurrency.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/tests/test_config.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/tests/test_croniter.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/tests/test_dbos.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/tests/test_dbwizard.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/tests/test_debug.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/tests/test_failures.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/tests/test_fastapi.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/tests/test_fastapi_roles.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/tests/test_flask.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/tests/test_kafka.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/tests/test_outcome.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/tests/test_package.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/tests/test_queue.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/tests/test_scheduler.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/tests/test_schema_migration.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/tests/test_singleton.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/tests/test_spans.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/tests/test_sqlalchemy.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/tests/test_workflow_cancel.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/tests/test_workflow_cmds.py +0 -0
- {dbos-0.25.0a13 → dbos-0.25.0a14}/version/__init__.py +0 -0
@@ -7,8 +7,6 @@ from functools import partial
|
|
7
7
|
from http.server import BaseHTTPRequestHandler, ThreadingHTTPServer
|
8
8
|
from typing import TYPE_CHECKING, Any, List, TypedDict
|
9
9
|
|
10
|
-
import jsonpickle # type: ignore
|
11
|
-
|
12
10
|
from ._logger import dbos_logger
|
13
11
|
from ._recovery import recover_pending_workflows
|
14
12
|
|
@@ -162,7 +160,17 @@ class AdminRequestHandler(BaseHTTPRequestHandler):
|
|
162
160
|
|
163
161
|
def _handle_steps(self, workflow_id: str) -> None:
|
164
162
|
steps = self.dbos._sys_db.get_workflow_steps(workflow_id)
|
165
|
-
|
163
|
+
|
164
|
+
updated_steps = [
|
165
|
+
{
|
166
|
+
**step,
|
167
|
+
"output": str(step["output"]) if step["output"] is not None else None,
|
168
|
+
"error": str(step["error"]) if step["error"] is not None else None,
|
169
|
+
}
|
170
|
+
for step in steps
|
171
|
+
]
|
172
|
+
|
173
|
+
json_steps = json.dumps(updated_steps).encode("utf-8")
|
166
174
|
self.send_response(200)
|
167
175
|
self._end_headers()
|
168
176
|
self.wfile.write(json_steps)
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_migrations/versions/5c361fc04708_added_system_tables.py
RENAMED
File without changes
|
File without changes
|
{dbos-0.25.0a13 → dbos-0.25.0a14}/dbos/_migrations/versions/d76646551a6b_job_queue_limiter.py
RENAMED
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
|
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
|
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
|