Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
BTN-2086
: Use @dataclass and pydantic to remove boilerplate
Code
Review changes
Check out branch
Download
Patches
Plain diff
Brendan McCollam
requested to merge
btn-2086-reduce-boilerplate
into
master
Sep 20, 2023
Overview
10
Commits
9
Pipelines
7
Changes
27
Expand
Removes boilerplate and enhances data consistency.
Use
@dataclass
to replace handwritten
__init__()
and
__eq__
methods.
Uses
Pydantic
to enforce strict run-time data validation.
Merge request reports