diff options
author | Frederick Muriuki Muriithi | 2024-10-09 16:35:40 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-10-09 16:53:50 -0500 |
commit | 3a276642bea934f0a7ef8f581d8639e617357a2a (patch) | |
tree | 2925f5daffff416acc5f4bf565b67b77d2c3c13d /gn_auth/auth/authentication | |
parent | 6445b327f77726bd70e38268393b57d7a8042182 (diff) | |
download | gn-auth-3a276642bea934f0a7ef8f581d8639e617357a2a.tar.gz |
Linting: Fix minor linting errors
Diffstat (limited to 'gn_auth/auth/authentication')
-rw-r--r-- | gn_auth/auth/authentication/oauth2/models/oauth2client.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gn_auth/auth/authentication/oauth2/models/oauth2client.py b/gn_auth/auth/authentication/oauth2/models/oauth2client.py index 2c36f45..df5d564 100644 --- a/gn_auth/auth/authentication/oauth2/models/oauth2client.py +++ b/gn_auth/auth/authentication/oauth2/models/oauth2client.py @@ -292,7 +292,10 @@ def delete_client( def update_client_attribute( - client: OAuth2Client, attribute: str, value: Any) -> OAuth2Client: + client: OAuth2Client,# pylint: disable=[redefined-outer-name] + attribute: str, + value: Any +) -> OAuth2Client: """Return a new OAuth2Client with the given attribute updated/changed.""" attrs = { attr: type(value) |