"""# Summary Operator script — seed demo data through the composition root. Run from the project root: python -m scripts.seed """ import asyncio from init import init, shutdown async def main() -> None: """Seed minimal demo records and shut down cleanly.""" resources = await init() try: await resources["parent_svc"].create( {"name": "Alice Parker", "email": "alice@vet.example"} ) await resources["vet_svc"].create( {"name": "Dr. Chen", "specialty": "Canine", "email": "chen@vet.example"} ) await resources["treatment_svc"].create( {"label": "Checkup", "description": "Routine wellness exam"} ) print("Seeded demo parents/vets/treatments.") finally: await shutdown() if __name__ == "__main__": asyncio.run(main())