Description
The users attribute of the server object was changed from SearchList to SearchDict. This is a breaking change that was not reflected in the version number. Furthermore this dictionary is keyed by name while the SearchList used the user object's __eq__ method to search by id or name. A basic function is now broken, namely resolving a user identity from the Slack id contained in most events.
e.g. Description of the bug or feature
Reproducible in:
Steps to reproduce:
Expected result:
e.g. What you expected to happen
Actual result:
e.g. What actually happened
Attachments:
e.g. Logs, screenshots, screencast, sample project, funny gif, etc.
Description
The
usersattribute of the server object was changed fromSearchListtoSearchDict. This is a breaking change that was not reflected in the version number. Furthermore this dictionary is keyed bynamewhile theSearchListused the user object's__eq__method to search by id or name. A basic function is now broken, namely resolving a user identity from the Slack id contained in most events.Reproducible in:
python-slackclient version:
Python Version:
OS Version:
Steps to reproduce:
Expected result:
Actual result:
Attachments: