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

🔧 Centralise extendable core need fields #1388

Merged
merged 2 commits into from
Jan 27, 2025

Conversation

chrisjsewell
Copy link
Member

No description provided.

Copy link

codecov bot commented Jan 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.18%. Comparing base (4e10030) to head (33d1742).
Report is 104 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1388      +/-   ##
==========================================
+ Coverage   86.87%   88.18%   +1.30%     
==========================================
  Files          56       60       +4     
  Lines        6532     7128     +596     
==========================================
+ Hits         5675     6286     +611     
+ Misses        857      842      -15     
Flag Coverage Δ
pytests 88.18% <100.00%> (+1.30%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@chrisjsewell chrisjsewell requested a review from ubmarco January 26, 2025 21:40
@@ -132,12 +138,14 @@ class CoreFieldParameters(TypedDict):
"schema": {"type": ["string", "null"], "default": None},
"show_in_layout": True,
"exclude_external": True,
"allow_extend": True,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this evaluated during add_need so needextend will not see the need if it is deleted?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is already a PR to completely remove this field, so it doesn't really matter: #1347

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but removed anyway

@chrisjsewell chrisjsewell force-pushed the restrict-needextend-core branch from 0e7942e to 21d810e Compare January 27, 2025 09:08
@chrisjsewell chrisjsewell requested a review from ubmarco January 27, 2025 09:10
@chrisjsewell chrisjsewell merged commit 9117b94 into master Jan 27, 2025
18 checks passed
@chrisjsewell chrisjsewell deleted the restrict-needextend-core branch January 27, 2025 09:31
chrisjsewell added a commit that referenced this pull request Mar 13, 2025
Similar to #1388 for `needs_variant_options`
chrisjsewell added a commit that referenced this pull request Mar 14, 2025
Similar to #1388 for `needs_variant_options`

---------

Co-authored-by: Marco Heinemann <[email protected]>
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