Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Share belongs_to cache #4264

Merged
merged 4 commits into from
Feb 11, 2025
Merged

Share belongs_to cache #4264

merged 4 commits into from
Feb 11, 2025

Conversation

tybug
Copy link
Member

@tybug tybug commented Feb 6, 2025

Also renames all (?) remaining references to ir_. ChoiceNode(type="integer") is maybe a bit weird but ChoiceNode(choice_type="integer") felt too verbose. I think of choice as "a single typed value" and ChoiceNode as "a value plus the context in which it was drawn (kwargs/etc)".

Things were looking pretty hairy for a while when we were in the thick of the migration, api-design and naming-wise 😅 I'm pretty happy with where we've ended up in choice.py now though.

@tybug tybug enabled auto-merge February 11, 2025 15:02
@tybug tybug merged commit 98ffa0c into HypothesisWorks:master Feb 11, 2025
50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants