Skip to content

Commit

Permalink
Correct type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch committed Sep 8, 2023
1 parent 2bec768 commit ed19abc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion slack_bolt/request/async_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def __init__(
body: Union[str, dict],
query: Optional[Union[str, Dict[str, str], Dict[str, Sequence[str]]]] = None,
headers: Optional[Dict[str, Union[str, Sequence[str]]]] = None,
context: Optional[Dict[str, str]] = None,
context: Optional[Dict[str, Any]] = None,
mode: str = "http", # either "http" or "socket_mode"
):
"""Request to a Bolt app.
Expand Down
2 changes: 1 addition & 1 deletion slack_bolt/request/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def __init__(
body: Union[str, dict],
query: Optional[Union[str, Dict[str, str], Dict[str, Sequence[str]]]] = None,
headers: Optional[Dict[str, Union[str, Sequence[str]]]] = None,
context: Optional[Dict[str, str]] = None,
context: Optional[Dict[str, Any]] = None,
mode: str = "http", # either "http" or "socket_mode"
):
"""Request to a Bolt app.
Expand Down

0 comments on commit ed19abc

Please sign in to comment.