text type hint in LinkButtonElement does not accept PlainTextObject/dict #1178
Labels
bug
M-T: A confirmed bug report. Issues are confirmed when the reproduction steps are documented
Version: 3x
web-client
Milestone
Reproducible in:
The following code results in a type checking error (using
mypy
for type checking)From what I understand, a PlainTextObject is appropriate for this element? https://api.slack.com/reference/block-kit/block-elements#button__examples
Could you please confirm whether 1 & 2 below are both valid
1.
The Slack SDK version
Python runtime version
OS info
Steps to reproduce:
Expected result:
I expect to see no error from mypy
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: