Team ID not set to "none" when doing an org-wide install #1639
Labels
needs info
An issue that is claimed to be a bug and hasn't been reproduced, or otherwise needs more info
oauth
(Filling out the following details about bugs will help us solve your issue sooner.)
Reproducible in:
The Slack SDK version
slack_sdk==3.33.1
Python runtime version
Python 3.11.2
OS info
Darwin Kernel Version 23.5.0: Wed May 1 20:16:51 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T8103
Steps to reproduce:
Update the
test_org_installation
intests/slack_sdk/oauth/installation_store/test_amazon_s3.py
by changing the installation to contain a team_id:python -m pytest tests/slack_sdk/oauth/installation_store/test_amazon_s3.py
Expected result:
I expect this test to pass. When I install a Slack App and use Python Bolt it passes a
team_id
into the installation resulting in a S3 key that is the enteprise id and team id:However, once the installation is complete, the
find_installation
method sets theteam_id
to "none" whenis_enterprise_install
is True.Actual result:
Requirements
For general questions/issues about Slack API platform or its server-side, could you submit questions at https://my.slack.com/help/requests/new instead. 🙇
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.
The text was updated successfully, but these errors were encountered: