Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified samcli/local/rapid/aws-durable-execution-emulator-arm64
Binary file not shown.
Binary file modified samcli/local/rapid/aws-durable-execution-emulator-x86_64
Binary file not shown.
9 changes: 0 additions & 9 deletions tests/integration/durable_integ_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,6 @@ def parameterized_test_name(func, num, params):
@classmethod
def build_durable_functions(cls):
"""Run sam build for durable functions."""
# Set environment variable for SDK .whl file location
whl_path = Path(
cls.test_data_path,
"durable",
"functions",
"aws_durable_execution_sdk_python-1.0.0-py3-none-any.whl",
)
os.environ["DURABLE_SDK_WHL"] = str(whl_path.absolute())

cls.build_dir = Path(cls.test_data_path, "durable", ".aws-sam", "build")
cls.built_template_path = cls.build_dir / "template.yaml"

Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
${DURABLE_SDK_WHL}
aws-durable-execution-sdk-python
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,18 @@
from typing import Any

from aws_durable_execution_sdk_python.config import WaitForCallbackConfig
from aws_durable_execution_sdk_python.context import DurableContext
from aws_durable_execution_sdk_python.context import (
DurableContext,
WaitForCallbackContext,
)
from aws_durable_execution_sdk_python.execution import durable_execution
from aws_durable_execution_sdk_python.config import Duration

logger = logging.getLogger()
logger.setLevel(logging.INFO)


def external_system_call(callback_id: str) -> None:
def external_system_call(callback_id: str, _context: WaitForCallbackContext) -> None:
"""Simulate calling an external system with callback ID."""
# In real usage, this would make an API call to an external system
# passing the callback_id for the system to call back when done
Expand Down
Loading