12 lines
397 B
Python
12 lines
397 B
Python
from typing import Any
|
|
|
|
from write.context import AdapterWriteContext
|
|
from write.contracts import WriteHandler
|
|
|
|
HANDLER = WriteHandler("scheduled_job_schedule", "schedule")
|
|
|
|
|
|
def execute(payload: dict[str, Any], context: AdapterWriteContext) -> dict[str, Any]:
|
|
"""Run the current proven scheduled-job writer through the handler seam."""
|
|
return context.legacy_scheduled_job_writer(payload)
|