Skip to content

Conversation

@Velesey
Copy link

@Velesey Velesey commented Dec 26, 2020

Sometimes reminders can be None


def update_req_body(reminder: Reminder) -> str:
"""
returns the body of a update-reminder request
Copy link
Owner

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'
Copy link
Owner

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
Copy link
Owner

Choose a reason for hiding this comment

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

here too, end with ","

Copy link
Owner

@jonahar jonahar left a 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.

@jonahar jonahar changed the title filter None reminders filter None reminders; handle all-day reminders; support 'update' action Jan 1, 2021
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