-
Notifications
You must be signed in to change notification settings - Fork 852
Closed
Labels
Version: 2xarea:concurrencyIssues and PRs related to concurrencyIssues and PRs related to concurrencybugM-T: A confirmed bug report. Issues are confirmed when the reproduction steps are documentedM-T: A confirmed bug report. Issues are confirmed when the reproduction steps are documentedrtm-client
Milestone
Description
Description
Describe your issue here.
What type of issue is this? (place an x in one of the [ ])
- bug
- enhancement (feature request)
- question
- documentation related
- testing related
- discussion
Requirements (place an x in each of the [ ])
- I've read and understood the Contributing guidelines and have done my best effort to follow them.
- I've read and agree to the Code of Conduct.
- I've searched for any related issues and avoided creating a duplicate issue.
Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
slackclient version: 1.3.1
python version: 3.6.8
OS version(s): Windows 10
Steps to reproduce:
- Start RTM client with run_async set to false
- Cancel and change to true and rerun
- Cancel and remove arg and rerun
- Try a web_api get method I was user_info
Expected result:
What you expected to happen
Wait until client returns with a response
Actual result:
What actually happened
Returns an async task item
Attachments:
Logs, screenshots, screencast, sample project, funny gif, etc.
assert result["ok"] == True TypeError: '_asyncio.Task' object is not subscriptable
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Version: 2xarea:concurrencyIssues and PRs related to concurrencyIssues and PRs related to concurrencybugM-T: A confirmed bug report. Issues are confirmed when the reproduction steps are documentedM-T: A confirmed bug report. Issues are confirmed when the reproduction steps are documentedrtm-client