This commit fixes an issue with .search() when by_tokens is set to False.
TypeError: 'Token' object is not subscriptable
Thank you for submitting a pull request to improve this library!
Please complete the following items
(you may create the pull request first and then work through them by pushing
additional commits to your branch):
[ ] Add a concise title to this pull request on the GitHub web interface.
[ ] Add a description in this box to describe what this pull request is about.
[ ] If code behavior is being updated (e.g., a bug fix), relevant tests should be added.
[ ] The CircleCI builds should pass, including both the code styling checks by
black and flake8 as well as the test suite.
[ ] Add an entry to CHANGELOG.md at the repository's root level.
This commit fixes an issue with .search() when by_tokens is set to False. TypeError: 'Token' object is not subscriptable
Thank you for submitting a pull request to improve this library! Please complete the following items (you may create the pull request first and then work through them by pushing additional commits to your branch):
black
andflake8
as well as the test suite.CHANGELOG.md
at the repository's root level.