Skip to content

auth.teams.list API method is not supported in WebClient #1212

@prziborowski

Description

@prziborowski

I don't see the method listed at https://slack.dev/python-slack-sdk/api-docs/slack_sdk/web/client.html
Also looking at the source I have (lib/python3.8/site-packages/slack_sdk/web/client.py) I didn't see a definition of auth_teams_list.

Reproducible in:

pip freeze | grep slack
python --version
sw_vers && uname -v # or `ver`

The slack_bolt version

slack-bolt==1.14.0
slack-sdk==3.16.2

Python runtime version

Python 3.8.10

OS info

slackapi/bolt-python#36~20.04.1-Ubuntu SMP Fri Aug 27 08:06:32 UTC 2021

Steps to reproduce:

app = App(token=bot_token)
auth_teams_list = app.client.auth_teams_list()

Expected result:

(Tell what you expected to happen)

Actual result:

AttributeError: 'WebClient' object has no attribute 'auth_teams_list'

Requirements

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions