from __future__ import annotations

import logging
from typing import Any

from app.jobs.base import BaseJob

logger = logging.getLogger("connecthub.test.job")

class testJob(BaseJob):
    job_id = "test.job"
    
    def run(self, params: dict[str, Any], secrets: dict[str, Any]) -> dict[str, Any]:
        message = str(params.get("message") or "").strip()

        logger.info("Message says:" + message)
        return {"message": "hello, world"}