-
Notifications
You must be signed in to change notification settings - Fork 15
filter None reminders; handle all-day reminders; support 'update' action #7
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
base: master
Are you sure you want to change the base?
Conversation
|
|
||
| def update_req_body(reminder: Reminder) -> str: | ||
| """ | ||
| returns the body of a update-reminder request |
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.
of an update
| 'get': 'https://reminders-pa.clients6.google.com/v1internalOP/reminders/get', | ||
| 'list': 'https://reminders-pa.clients6.google.com/v1internalOP/reminders/list' | ||
| 'list': 'https://reminders-pa.clients6.google.com/v1internalOP/reminders/list', | ||
| 'update': 'https://reminders-pa.clients6.google.com/v1internalOP/reminders/update' |
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.
please end line with ","
| creation_timestamp_msec=creation_timestamp_msec, | ||
| done_timestamp_msec=done_timestamp_msec, | ||
| done=done, | ||
| all_day = all_day |
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.
here too, end with ","
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.
Thank you for improving this tool Vladimir!
Can you also add the corresponding code for updating a reminder in remind.py so it can easily be used from the cli? (i.e., support one more cli argument). Please also see some minor styling comments.
Sometimes reminders can be None