Skip to content

Fix #893 Add support for admin.barriers.* API methods#942

Merged
seratch merged 1 commit intoslackapi:mainfrom
seratch:issue-893-admin-barriers
Feb 2, 2021
Merged

Fix #893 Add support for admin.barriers.* API methods#942
seratch merged 1 commit intoslackapi:mainfrom
seratch:issue-893-admin-barriers

Conversation

@seratch
Copy link
Copy Markdown
Contributor

@seratch seratch commented Feb 2, 2021

Summary

This pull request fixes #893 by adding supports for admin.barriers.* endpoints.

Category (place an x in each of the [ ])

  • slack_sdk.web.WebClient (sync/async) (Web API client)
  • slack_sdk.webhook.WebhookClient (sync/async) (Incoming Webhook, response_url sender)
  • slack_sdk.models (UI component builders)
  • slack_sdk.oauth (OAuth Flow Utilities)
  • slack_sdk.socket_mode (Socket Mode client)
  • slack_sdk.rtm.RTMClient (RTM client)
  • slack_sdk.signature (Request Signature Verifier)
  • /docs-src (Documents, have you run ./docs.sh?)
  • /docs-src-v2 (Documents, have you run ./docs-v2.sh?)
  • /tutorial (PythOnBoardingBot tutorial)
  • tests/integration_tests (Automated tests for this library)

Requirements (place an x in each [ ])

  • 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 run python setup.py validate after making the changes.

@seratch seratch added enhancement M-T: A feature request for new functionality web-client Version: 3x labels Feb 2, 2021
@seratch seratch added this to the 3.3.0 milestone Feb 2, 2021
@seratch seratch self-assigned this Feb 2, 2021
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 2, 2021

Codecov Report

Merging #942 (ede44e0) into main (b79dd77) will decrease coverage by 0.01%.
The diff coverage is 82.60%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #942      +/-   ##
==========================================
- Coverage   86.08%   86.07%   -0.02%     
==========================================
  Files          57       57              
  Lines        4995     5018      +23     
==========================================
+ Hits         4300     4319      +19     
- Misses        695      699       +4     
Impacted Files Coverage Δ
slack_sdk/web/legacy_client.py 96.61% <82.60%> (-0.48%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b79dd77...ede44e0. Read the comment docs.

"admin.conversations.whitelist.add", # deprecated
"admin.conversations.whitelist.listGroupsLinkedToChannel", # deprecated
"admin.conversations.whitelist.remove", # deprecated
"admin.conversations.getCustomRetention",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the connection between these additions and the admin.barriers.* methods?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After our last update on the public endpoint list here, these are also added. However, we (specifically I) are still unable to support them for a reason. Thus, I've added them to the skip list.

@seratch seratch merged commit ebd4c78 into slackapi:main Feb 2, 2021
@seratch seratch deleted the issue-893-admin-barriers branch February 2, 2021 22:14
@seratch seratch mentioned this pull request Feb 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement M-T: A feature request for new functionality Version: 3x web-client

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for admin.barriers.* API methods

2 participants