-
Notifications
You must be signed in to change notification settings - Fork 0
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
Tests #38
Tests #38
Conversation
sepandhaghighi
commented
Feb 7, 2025
- Tests updated
- Minor bugs fixed
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. Thanks for integrating Codecov - We've got you covered ☂️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a minor comment.
memor/template.py
Outdated
@@ -42,7 +42,7 @@ def __init__( | |||
:return: None | |||
""" | |||
self._content = None | |||
self._title = None | |||
self._title = "unknown" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like None
better. It's more compatible with integration. Imagine someone wanted to save them in a data frame with a column named title
then having some rows as None are easier to detect by NaN detectors and converting them into something better than having them as unknown.
For saving I'm also fine with that field being null
when jsonified.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed in a5cb703