-
-
Notifications
You must be signed in to change notification settings - Fork 396
zulip: Update reaction_data type.
#653
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
zulip: Update reaction_data type.
#653
Conversation
The `message_id` was made an `str` object because the request expected `Dict[str, str]`. The request is now casted to `Dict[str, Any]` to fix the issue and removed typecast of `message_id` to str. python-zulip-api reference: zulip/python-zulip-api#653
|
For both the PRs, you don't need to write the whole file name in the commit message. See https://zulip.readthedocs.io/en/latest/contributing/version-control.html#commit-messages Something like |
Update `reaction_data` type in add_reaction and remove_reaction, from Dict[str, str] to Dict[str, Any]
0274ae1 to
5e7974f
Compare
The `message_id` was made an `str` object because the request expected `Dict[str, str]`. The request is now casted to `Dict[str, Any]` to fix the issue and removed typecast of `message_id` to str. python-zulip-api reference: zulip/python-zulip-api#653
|
Actually, I saw Anders Kaseorg doing this for single file changes, hence thought that could be a better practice for a single file commit. |
The `message_id` was made an `str` object because the request expected `Dict[str, str]`. The request is now casted to `Dict[str, Any]` to fix the issue and removed typecast of `message_id` to str. python-zulip-api reference: zulip/python-zulip-api#653
|
Posting the relevant discussion thread for future reference: https://chat.zulip.org/#narrow/stream/127-integrations/topic/msg.20id.20in.20add_emoji.20doc. |
The `message_id` was made an `str` object because the request expected `Dict[str, str]`. The request is now casted to `Dict[str, Any]` to fix the issue and removed typecast of `message_id` to str. python-zulip-api reference: zulip/python-zulip-api#653
|
Merged, thanks @LoopThrough-i-j! |
The `message_id` was made an `str` object because the request expected `Dict[str, str]`. The request is now casted to `Dict[str, Any]` to fix the issue and removed typecast of `message_id` to str. python-zulip-api reference: zulip/python-zulip-api#653
reaction_data type.reaction_data type.
Update
reaction_datatype in add_reaction andremove_reaction, from Dict[str, str] to Dict[str, Any]