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

Support mealplan notes #171

Merged
merged 1 commit into from
Jun 29, 2024
Merged

Support mealplan notes #171

merged 1 commit into from
Jun 29, 2024

Conversation

joostlek
Copy link
Owner

Add support for fetching the fields of mealplans that only have a note and no recipe attached

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@joostlek joostlek added the new-feature New features or options. label Jun 29, 2024
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 88.88889% with 1 line in your changes missing coverage. Please review.

Project coverage is 96.80%. Comparing base (3ddb5d9) to head (4c97f43).

Files Patch % Lines
src/aiomealie/models.py 88.88% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #171      +/-   ##
==========================================
- Coverage   97.20%   96.80%   -0.40%     
==========================================
  Files           4        4              
  Lines         179      188       +9     
  Branches       21       21              
==========================================
+ Hits          174      182       +8     
- Misses          3        4       +1     
  Partials        2        2              

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

Copy link


def serialize(self, value: str | None) -> str | None:
"""Serialize optional string."""
return value
Copy link
Owner Author

Choose a reason for hiding this comment

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

This is not used internally and would only be used by external usage, looks trivial so no unit tests here

@joostlek joostlek merged commit ed1ec6f into main Jun 29, 2024
13 checks passed
@joostlek joostlek deleted the note-text branch June 29, 2024 09:08
@github-actions github-actions bot locked and limited conversation to collaborators Jun 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
new-feature New features or options.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants