Commit 734448a 1 parent d93e6f0 commit 734448a Copy full SHA for 734448a
File tree 2 files changed +4
-5
lines changed
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 2
2
from prompt_toolkit import prompt
3
3
4
4
import contextlib
5
+ import httpx
5
6
import json
6
7
import logging
7
8
import multiprocessing
8
9
import os
9
10
import psutil
10
11
import queue
11
- import requests
12
12
import sys
13
13
import time
14
14
import urllib
@@ -341,11 +341,11 @@ def callback_server():
341
341
'ignore' ,
342
342
category = urllib3 .exceptions .InsecureRequestWarning )
343
343
344
- resp = requests .get (
344
+ resp = httpx .get (
345
345
'https://127.0.0.1:{}/schwab-py-internal/status' .format (
346
346
callback_port ), verify = False )
347
347
break
348
- except requests . exceptions . ConnectionError as e :
348
+ except httpx . ConnectError as e :
349
349
pass
350
350
351
351
time .sleep (0.1 )
Original file line number Diff line number Diff line change 36
36
'httpx' ,
37
37
'prompt_toolkit' ,
38
38
'psutil' ,
39
- 'requests' ,
40
39
'python-dateutil' ,
41
- 'selenium ' ,
40
+ 'urllib3 ' ,
42
41
'websockets'
43
42
],
44
43
extras_require = {
You can’t perform that action at this time.
0 commit comments