Source code for dxaws_accounts.executor
from __future__ import annotations
from typing import Any
from .providers.base import ProviderBase
[docs]
def apply(*, provider: ProviderBase, plan: Any) -> Any:
"""Apply a previously computed plan.
Executors are responsible for *performing side effects* only.
They must not compute desired state or make planning decisions.
Responsibilities:
- execute plan actions in a stable, predictable order
- perform all external interactions via the provider
- be idempotent where possible
This template implementation is a no-op and simply returns the plan.
Real modules should replace this with concrete execution logic.
"""
# Template default: no-op apply.
return plan