Skip to content

Commit

Permalink
Fix *wrong* type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvipanda committed Jan 25, 2024
1 parent a130d77 commit ae734ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oauthenticator/oauth2.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ def _logout_redirect_url_default(self):
)

@validate('required_scopes')
def _required_scopes_validation(self, proposal: list[str]):
def _required_scopes_validation(self, proposal):
# required scopes must be a subset of requested scopes
if set(proposal.value) - set(self.scope):
raise ValueError(f"Required Scopes must be a subset of Requested Scopes. {self.scope} is requested but {proposal.value} is required")
Expand Down

0 comments on commit ae734ef

Please sign in to comment.