"""Development handler.""" import json from pathlib import Path from unittest.mock import MagicMock from dotenv import load_dotenv load_dotenv() def run(): """Lambda entry point for local development and testing.""" sample_event_path = Path(__file__).parent / 'tests' / 'sample_event.json' with open(sample_event_path, 'r') as f: event = json.load(f) context = MagicMock() from app import handler handler(event, context) if __name__ == '__main__': run()