Skip to content

Add type hint updates missed in #148 - #189

Merged
seratch merged 2 commits into
slackapi:mainfrom
seratch:team_id_type
Jan 5, 2021
Merged

seratch merged 2 commits into
slackapi:mainfrom
seratch:team_id_type

Conversation

@seratch

@seratch seratch commented Jan 4, 2021

Copy link
Copy Markdown
Contributor

My pull request #148 for Org-wide app installation support missed some type hint updates for method argument team_id. I used to safely assume the team_id is always available in every single incoming request from Slack. But it is no longer true for Org-wide installed apps' cases. As this is a matter of type hints, it does not affect runtime behaviors at all.

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

  • slack_bolt.App and/or its core components
  • slack_bolt.async_app.AsyncApp and/or its core components
  • Adapters in slack_bolt.adapter
  • Document pages under /docs
  • Others

Requirements (place an x in each [ ])

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

  • 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 ./scripts/install_all_and_run_tests.sh after making the changes.

@seratch seratch added this to the 1.2.0 milestone Jan 4, 2021
@seratch
seratch requested review from mwbrooks and stevengill January 4, 2021 07:04
@codecov

codecov Bot commented Jan 4, 2021 •

Copy link
Copy Markdown

Codecov Report

Merging #189 (8fe617d) into main (a1feadd) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #189   +/-   ##
=======================================
  Coverage   92.15%   92.15%           
=======================================
  Files         149      149           
  Lines        4448     4448           
=======================================
  Hits         4099     4099           
  Misses        349      349           
Impacted Files Coverage Δ
slack_bolt/authorization/async_authorize.py 86.66% <ø> (ø)
slack_bolt/authorization/authorize.py 86.66% <ø> (ø)
slack_bolt/authorization/async_authorize_args.py 100.00% <100.00%> (ø)
slack_bolt/authorization/authorize_args.py 100.00% <100.00%> (ø)

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 a1feadd...8fe617d. Read the comment docs.

@seratch
seratch merged commit 03fdd85 into slackapi:main Jan 5, 2021
@seratch
seratch deleted the team_id_type branch January 5, 2021 03:08
@seratch seratch modified the milestones: 1.2.0, 1.1.5 Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant