dex-python-sdk 0.2.3__tar.gz → 0.2.4__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.
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/PKG-INFO +1 -1
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/__init__.py +2 -2
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/_worker_dispatcher.py +1 -1
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/step.py +2 -2
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/pyproject.toml +1 -1
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/LEGACY_NOTICES.md +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/LICENSE +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/README.md +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/_async_value_hydrator.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/_async_worker_dispatcher.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/_async_worker_service.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/_grpc_errors.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/_invocation_context.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/_native.pyi +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/_utils.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/_value_hydrator.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/_value_mapper.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/_worker_service.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/async_client.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/async_worker.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/attribute.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/blob_cache.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/channel.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/client.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/client_options.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/codec.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/condition.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/context.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/dexpb/__init__.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/dexpb/dex_pb2.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/dexpb/dex_pb2.pyi +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/dexpb/dex_pb2_grpc.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/flow.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/flow_config.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/flow_info.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/flow_options.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/flow_result.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/py.typed +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/runtime_errors.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/step_execution.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/stream.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/subflow.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/timer.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/wait.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/worker.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/dex/worker_options.py +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/sdk-rust/Cargo.lock +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/sdk-rust/Cargo.toml +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/sdk-rust/crates/dex-blob-cache/Cargo.toml +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/sdk-rust/crates/dex-blob-cache/LICENSE +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/sdk-rust/crates/dex-blob-cache/src/config.rs +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/sdk-rust/crates/dex-blob-cache/src/entry.rs +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/sdk-rust/crates/dex-blob-cache/src/error.rs +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/sdk-rust/crates/dex-blob-cache/src/format.rs +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/sdk-rust/crates/dex-blob-cache/src/lib.rs +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/sdk-rust/crates/dex-blob-cache/src/policy.rs +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/sdk-rust/crates/dex-blob-cache/src/store.rs +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/sdk-rust/crates/dex-blob-cache/tests/blob_cache_integration.rs +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/sdk-rust/crates/dex-blob-cache-python/Cargo.toml +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/sdk-rust/crates/dex-blob-cache-python/LICENSE +0 -0
- {dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/sdk-rust/crates/dex-blob-cache-python/src/lib.rs +0 -0
|
@@ -85,7 +85,7 @@ from dex.step import (
|
|
|
85
85
|
force_complete_if_channels_empty,
|
|
86
86
|
force_fail,
|
|
87
87
|
go_to,
|
|
88
|
-
|
|
88
|
+
go_to_many,
|
|
89
89
|
graceful_complete,
|
|
90
90
|
)
|
|
91
91
|
from dex.step_execution import StepExecutionId, TimerId
|
|
@@ -181,7 +181,7 @@ __all__ = [
|
|
|
181
181
|
"force_fail",
|
|
182
182
|
"graceful_complete",
|
|
183
183
|
"go_to",
|
|
184
|
-
"
|
|
184
|
+
"go_to_many",
|
|
185
185
|
"open_blob_cache",
|
|
186
186
|
"rpc",
|
|
187
187
|
]
|
|
@@ -476,7 +476,7 @@ class WorkerDispatcher:
|
|
|
476
476
|
mapped = pb.StepDecision()
|
|
477
477
|
if decision.kind is DecisionKind.NEXT:
|
|
478
478
|
if not decision.movements:
|
|
479
|
-
raise ValueError("
|
|
479
|
+
raise ValueError("go_to_many requires a movement")
|
|
480
480
|
mapped.next_steps.extend(self._map_movements(flow, decision.movements))
|
|
481
481
|
elif decision.kind is DecisionKind.GRACEFUL_COMPLETE:
|
|
482
482
|
mapped.close_decision.CopyFrom(
|
|
@@ -416,10 +416,10 @@ def go_to(step: type[Step[InputT]], input: InputT) -> StepDecision:
|
|
|
416
416
|
Returns:
|
|
417
417
|
A next decision containing one StepMovement.
|
|
418
418
|
"""
|
|
419
|
-
return
|
|
419
|
+
return go_to_many(StepMovement.of(step, input))
|
|
420
420
|
|
|
421
421
|
|
|
422
|
-
def
|
|
422
|
+
def go_to_many(*movements: StepMovement[Any]) -> StepDecision:
|
|
423
423
|
"""Create a decision that schedules several next Steps.
|
|
424
424
|
|
|
425
425
|
Args:
|
|
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
|
{dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/sdk-rust/crates/dex-blob-cache-python/Cargo.toml
RENAMED
|
File without changes
|
|
File without changes
|
{dex_python_sdk-0.2.3 → dex_python_sdk-0.2.4}/sdk-rust/crates/dex-blob-cache-python/src/lib.rs
RENAMED
|
File without changes
|