spartypkp/open-source-legislation

Rework Pydantic Model Usage

Opened this issue · 0 comments

Description

Replace basic Python dictionaries with Pydantic models for data validation and quality of life improvements.

Steps

  1. Identify dictionary usage in each jurisdiction's scraper.
  2. Replace with Pydantic models.
  3. Update SQL insertion code.
  4. Test refactored code.