Skip to content

Commit

Permalink
Fix #210 by correcting a type hint in async OAuth classes
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch committed Jan 18, 2021
1 parent 16d2908 commit 90bfe6a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions slack_bolt/oauth/async_oauth_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
AsyncAuthorize,
)
from slack_bolt.error import BoltError
from slack_bolt.oauth.async_callback_options import AsyncCallbackOptions
from slack_bolt.oauth.async_internals import get_or_create_default_installation_store
from slack_bolt.oauth.callback_options import CallbackOptions


class AsyncOAuthSettings:
Expand All @@ -34,7 +34,7 @@ class AsyncOAuthSettings:
install_path: str
install_page_rendering_enabled: bool
redirect_uri_path: str
callback_options: Optional[CallbackOptions] = None
callback_options: Optional[AsyncCallbackOptions] = None
success_url: Optional[str]
failure_url: Optional[str]
authorization_url: str # default: https://slack.com/oauth/v2/authorize
Expand Down Expand Up @@ -66,7 +66,7 @@ def __init__(
install_path: str = "/slack/install",
install_page_rendering_enabled: bool = True,
redirect_uri_path: str = "/slack/oauth_redirect",
callback_options: Optional[CallbackOptions] = None,
callback_options: Optional[AsyncCallbackOptions] = None,
success_url: Optional[str] = None,
failure_url: Optional[str] = None,
authorization_url: Optional[str] = None,
Expand Down

0 comments on commit 90bfe6a

Please sign in to comment.