Skip to content

Update BaseRecipe fields#698

Merged
andrew-codechimp merged 2 commits into
joostlek:mainfrom
andrew-codechimp:improve-mealplan
Mar 15, 2026
Merged

Update BaseRecipe fields#698
andrew-codechimp merged 2 commits into
joostlek:mainfrom
andrew-codechimp:improve-mealplan

Conversation

@andrew-codechimp

Copy link
Copy Markdown
Collaborator

Proposed Changes

Recipe had tags and date_added but BaseRecipe did not, meaning some methods did not return them, since these are not detailed models (like ingredients and instructions) they can be included in all methods.

Additionally add categories and last made to base recipe to make them available to all methods.

As mentioned in
https://github.com/orgs/home-assistant/discussions/3185

@andrew-codechimp andrew-codechimp added the enhancement Enhancement of the code, not introducing new features. label Mar 15, 2026
@andrew-codechimp andrew-codechimp merged commit 280dee7 into joostlek:main Mar 15, 2026
12 checks passed
@andrew-codechimp andrew-codechimp deleted the improve-mealplan branch March 15, 2026 16:03
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.71%. Comparing base (c855cb3) to head (a4fc627).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #698      +/-   ##
==========================================
+ Coverage   98.69%   98.71%   +0.02%     
==========================================
  Files           4        4              
  Lines         382      389       +7     
  Branches       18       18              
==========================================
+ Hits          377      384       +7     
  Misses          5        5              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions github-actions Bot locked and limited conversation to collaborators Mar 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement Enhancement of the code, not introducing new features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants