Model/backend/condition/condition_trigger_request.py
2026-02-04 15:14:26 +00:00

16 lines
460 B
Python

from enum import Enum
from pydantic import BaseModel
class ConditionFileType(Enum):
LBWF = "LBWF"
Peabody = "Peabody"
# TODO: make these asset management systems rather than client names
class ConditionTriggerRequest(BaseModel):
file_type: ConditionFileType
trigger_file_bucket: str # TODO: get this from settings
trigger_file_key: str
uprn_lookup_file_bucket: str # TODO: get this from settings
uprn_lookup_file_key: str