mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 00:18:12 +00:00
mypy: Final small migrations to python3.5 annotations in many files.
This commit is contained in:
committed by
Tim Abbott
parent
34db2e59dd
commit
9e1dbde82d
@@ -4534,8 +4534,9 @@ def do_update_user_group_description(user_group: UserGroup, description: Text) -
|
||||
user_group.save(update_fields=['description'])
|
||||
do_send_user_group_update_event(user_group, dict(description=description))
|
||||
|
||||
def do_update_outgoing_webhook_service(bot_profile, service_interface, service_payload_url):
|
||||
# type: (UserProfile, int, Text) -> None
|
||||
def do_update_outgoing_webhook_service(bot_profile: UserProfile,
|
||||
service_interface: int,
|
||||
service_payload_url: Text) -> None:
|
||||
# TODO: First service is chosen because currently one bot can only have one service.
|
||||
# Update this once multiple services are supported.
|
||||
service = get_bot_services(bot_profile.id)[0]
|
||||
|
||||
Reference in New Issue
Block a user