import json from pprint import pprint from src.app import handle from src.common.schemas.ingestion import BaseEvent with open("event.json") as file: event: BaseEvent = BaseEvent.model_validate(json.load(file)) pprint(event) result = handle(event).model_dump() # no-qa pprint(result)