Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: implement ModelBindingsMapper utilizing a DataFrame
This change introduces a refactor of the important ModelBindingsMapper class using a pandas DataFrame for effecting grouping and aggregation and a CurryModel utility for partially instantiating a given Pydantic model with checks running for every partial application, allowing for fast validation failure. Closes #170. Aggregation behavior is now only triggered for actually aggregated fields, and not for top-level models as well. Therefore this also closes #181.
- Loading branch information