We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_github_oauth.py
1 parent 32d2691 commit c06c982Copy full SHA for c06c982
src/azure-cli/azure/cli/command_modules/appservice/_github_oauth.py
@@ -17,7 +17,7 @@
17
'''
18
19
20
-def get_github_access_token(cmd, scope_list=None):
+def get_github_access_token(cmd, scope_list=None): # pylint: disable=unused-argument
21
if scope_list:
22
for scope in scope_list:
23
if scope not in GITHUB_OAUTH_SCOPES:
@@ -30,11 +30,9 @@ def get_github_access_token(cmd, scope_list=None):
30
'client_id': GITHUB_OAUTH_CLIENT_ID
31
}
32
33
- import base64
34
- import json
35
import requests
36
import time
37
- from urllib.parse import urlparse, parse_qs
+ from urllib.parse import parse_qs
38
39
try:
40
response = requests.post(authorize_url, data=authorize_url_data)
0 commit comments