Skip to content
Merged
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
6 changes: 5 additions & 1 deletion src/aws_durable_execution_sdk_python_testing/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
from aws_durable_execution_sdk_python_testing.stores.memory import (
InMemoryExecutionStore,
)
from aws_durable_execution_sdk_python_testing.stores.sqlite import SQLiteExecutionStore
from aws_durable_execution_sdk_python_testing.web.server import WebServer


Expand Down Expand Up @@ -759,7 +760,10 @@ def start(self) -> None:
raise DurableFunctionsLocalRunnerError(msg)

# Create dependencies and server
if self._config.store_type == StoreType.FILESYSTEM:
if self._config.store_type == StoreType.SQLITE:
store_path = self._config.store_path
self._store = SQLiteExecutionStore.create_and_initialize(store_path)
elif self._config.store_type == StoreType.FILESYSTEM:
store_path = self._config.store_path or ".durable_executions"
self._store = FileSystemExecutionStore.create(store_path)
else:
Expand Down
Loading