Initialize View state field to ViewState object based on type #1021
Labels
bug
M-T: A confirmed bug report. Issues are confirmed when the reproduction steps are documented
Version: 3x
web-client
Milestone
The View class (
slack_sdk.models.views.View
) does not initialize the state parameter value toViewState(state)
orViewState(**state)
based on the corresponding type (ViewState
ordict
, respectively)Reproducible in:
The Slack SDK version
Python runtime version
OS info
Steps to reproduce:
(Share the commands to run, source code, and project settings (e.g., setup.py))
Expected result:
View().state
object field isViewState
type andViewState.values
is initialized withViewStateValue
objects based on state initialization parameter valueActual result:
View().state
field isdict
, andViewState
andViewStateValue
objects are not initialized based on state valueRequirements
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: