Skip to content

Slack RTM caching Run_async #463

@ashvinnihalani

Description

@ashvinnihalani

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:

  1. Start RTM client with run_async set to false
  2. Cancel and change to true and rerun
  3. Cancel and remove arg and rerun
  4. 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

Metadata

Metadata

Assignees

Labels

Version: 2xarea:concurrencyIssues and PRs related to concurrencybugM-T: A confirmed bug report. Issues are confirmed when the reproduction steps are documentedrtm-client

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions