Skip to content

Conversation

@davidhewitt
Copy link
Contributor

Change Summary

This is a "skeleton" implementation of BaseStruct - it does not yet have any native semantics and is essentially a copy of BaseModel, with modifications to define an initial test suite (also copied from model tests) and a custom metaclass.

Will keep this in draft and keep pushing to this branch as I experiment. One we have a workable base implementation I'd like to merge this and then we can have smaller, more reviewable diffs for the interesting components.

Related issue number

#12546
#10032

Checklist

  • The pull request title is a good summary of the changes - it will be used in the changelog
  • Unit tests for the changes exist
  • Tests pass on CI
  • Documentation reflects the changes where applicable
  • My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

@github-actions github-actions bot added the relnotes-fix Used for bugfixes. label Nov 19, 2025
@codspeed-hq
Copy link

codspeed-hq bot commented Nov 19, 2025

CodSpeed Performance Report

Merging #12547 will not alter performance

Comparing dh/struct (5229284) with main (246b1a9)

Summary

✅ 210 untouched

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

relnotes-fix Used for bugfixes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants