aws-durable-execution-sdk-python 1.0.0__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.
- aws_durable_execution_sdk_python/.gitignore +0 -0
- aws_durable_execution_sdk_python/__about__.py +4 -0
- aws_durable_execution_sdk_python/__init__.py +34 -0
- aws_durable_execution_sdk_python/botocore/data/lambdainternal/2015-03-31/service-2.json +7864 -0
- aws_durable_execution_sdk_python/concurrency/__init__.py +0 -0
- aws_durable_execution_sdk_python/concurrency/executor.py +436 -0
- aws_durable_execution_sdk_python/concurrency/models.py +469 -0
- aws_durable_execution_sdk_python/config.py +499 -0
- aws_durable_execution_sdk_python/context.py +551 -0
- aws_durable_execution_sdk_python/exceptions.py +374 -0
- aws_durable_execution_sdk_python/execution.py +428 -0
- aws_durable_execution_sdk_python/identifier.py +14 -0
- aws_durable_execution_sdk_python/lambda_service.py +1034 -0
- aws_durable_execution_sdk_python/logger.py +131 -0
- aws_durable_execution_sdk_python/operation/__init__.py +1 -0
- aws_durable_execution_sdk_python/operation/callback.py +123 -0
- aws_durable_execution_sdk_python/operation/child.py +162 -0
- aws_durable_execution_sdk_python/operation/invoke.py +119 -0
- aws_durable_execution_sdk_python/operation/map.py +137 -0
- aws_durable_execution_sdk_python/operation/parallel.py +122 -0
- aws_durable_execution_sdk_python/operation/step.py +269 -0
- aws_durable_execution_sdk_python/operation/wait.py +53 -0
- aws_durable_execution_sdk_python/operation/wait_for_condition.py +235 -0
- aws_durable_execution_sdk_python/py.typed +1 -0
- aws_durable_execution_sdk_python/retries.py +174 -0
- aws_durable_execution_sdk_python/serdes.py +502 -0
- aws_durable_execution_sdk_python/state.py +790 -0
- aws_durable_execution_sdk_python/suspend.py +84 -0
- aws_durable_execution_sdk_python/threading.py +222 -0
- aws_durable_execution_sdk_python/types.py +180 -0
- aws_durable_execution_sdk_python/waits.py +130 -0
- aws_durable_execution_sdk_python-1.0.0.dist-info/METADATA +679 -0
- aws_durable_execution_sdk_python-1.0.0.dist-info/RECORD +36 -0
- aws_durable_execution_sdk_python-1.0.0.dist-info/WHEEL +4 -0
- aws_durable_execution_sdk_python-1.0.0.dist-info/licenses/LICENSE +175 -0
- aws_durable_execution_sdk_python-1.0.0.dist-info/licenses/NOTICE +1 -0
|
File without changes
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"""AWS Lambda Durable Executions Python SDK."""
|
|
2
|
+
|
|
3
|
+
# Main context - used in every durable function
|
|
4
|
+
# Helper decorators - commonly used for step functions
|
|
5
|
+
from aws_durable_execution_sdk_python.context import (
|
|
6
|
+
DurableContext,
|
|
7
|
+
durable_step,
|
|
8
|
+
durable_with_child_context,
|
|
9
|
+
)
|
|
10
|
+
|
|
11
|
+
# Most common exceptions - users need to handle these exceptions
|
|
12
|
+
from aws_durable_execution_sdk_python.exceptions import (
|
|
13
|
+
DurableExecutionsError,
|
|
14
|
+
InvocationError,
|
|
15
|
+
ValidationError,
|
|
16
|
+
)
|
|
17
|
+
|
|
18
|
+
# Core decorator - used in every durable function
|
|
19
|
+
from aws_durable_execution_sdk_python.execution import durable_execution
|
|
20
|
+
|
|
21
|
+
# Essential context types - passed to user functions
|
|
22
|
+
from aws_durable_execution_sdk_python.types import BatchResult, StepContext
|
|
23
|
+
|
|
24
|
+
__all__ = [
|
|
25
|
+
"BatchResult",
|
|
26
|
+
"DurableContext",
|
|
27
|
+
"DurableExecutionsError",
|
|
28
|
+
"InvocationError",
|
|
29
|
+
"StepContext",
|
|
30
|
+
"ValidationError",
|
|
31
|
+
"durable_execution",
|
|
32
|
+
"durable_step",
|
|
33
|
+
"durable_with_child_context",
|
|
34
|
+
]
|