Skip to content

change slack client to sdk (#24)#25

Open
mukeshbhatt18gl wants to merge 3 commits intomasterfrom
gl-master
Open

change slack client to sdk (#24)#25
mukeshbhatt18gl wants to merge 3 commits intomasterfrom
gl-master

Conversation

@mukeshbhatt18gl
Copy link
Copy Markdown

Description of change

This PR is for upgrade slack client to slack sdk
SAC-28386

Manual QA steps

  • Discovery: Running
  • Sync: Running
  • Unit Tests: Running

Risks

Rollback steps

  • revert this branch

AI generated code

https://internal.qlik.dev/general/ways-of-working/code-reviews/#guidelines-for-ai-generated-code

  • this PR has been written with the help of GitHub Copilot or another generative AI tool

mukeshbhatt18gl and others added 2 commits September 18, 2025 10:54
* change slack client to sdk

* commit for changelof

* commit for changelog

* revert fstring comments
@rdeshmukh15 rdeshmukh15 mentioned this pull request Oct 6, 2025
1 task
@RushiT0122 RushiT0122 requested a review from Copilot October 9, 2025 09:04
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR upgrades the Slack client from the deprecated slackclient library to the modern slack-sdk library, including updating dependencies and adding parent stream metadata for better data lineage.

  • Updated Slack client dependency from slackclient==2.6.0 to slack-sdk==3.36.0
  • Added parent stream metadata to conversation-related streams for improved data lineage
  • Upgraded singer-python version and removed deprecated Python version requirement

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tap_slack/init.py Updated import from deprecated slack to slack_sdk WebClient
tap_slack/client.py Updated SlackApiError import and made wait method static
tap_slack/streams.py Added parent stream metadata to conversation-related streams
tap_slack/catalog.py Enhanced catalog generation to support parent stream metadata
setup.py Updated dependencies and version, removed deprecated Python requirement
CHANGELOG.md Added changelog entry for version 1.2.0

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

if parent_tap_stream_id:
mdata = singer.metadata.write(mdata, (), 'parent-tap-stream-id', parent_tap_stream_id)

mdata = singer.metadata.to_list(mdata)
Copy link

Copilot AI Oct 9, 2025

Choose a reason for hiding this comment

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

Extra trailing whitespace should be removed.

Suggested change
mdata = singer.metadata.to_list(mdata)
mdata = singer.metadata.to_list(mdata)

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Please remove this trailing whitespace.

Copy link
Copy Markdown

@RushiT0122 RushiT0122 left a comment

Choose a reason for hiding this comment

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

Changes look good now. I am approving this PR since functionally it looks fine but please take care of comment before merging it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants