define condition trigger request object

This commit is contained in:
Daniel Roth 2026-02-04 12:57:51 +00:00
parent da57392953
commit 06e1d53509
2 changed files with 7 additions and 0 deletions

View file

@ -0,0 +1,6 @@
from pydantic import BaseModel
class ConditionTriggerRequest(BaseModel):
trigger_file_path: str # TODO: split into bucket/prefix?
uprn_lookup_file_path: str # TODO: split into bucket/prefix?

View file

@ -14,6 +14,7 @@ def handler(event: Mapping[str, Any], context: Any) -> None:
uprn_lookup = UprnLookupS3(
bucket="", key=""
) # TODO: replace with postgres implementation
dummy_stream = BytesIO(b"")
source_key = event.get("source_key", "unknown-source")