Skip to content

Commit

Permalink
remove unnecessary dependencies (#144)
Browse files Browse the repository at this point in the history
* remove unnecessary dependencies

* replace urllib3 dependency
  • Loading branch information
alexgolec authored Jun 30, 2024
1 parent d93e6f0 commit 734448a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions schwab/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
from prompt_toolkit import prompt

import contextlib
import httpx
import json
import logging
import multiprocessing
import os
import psutil
import queue
import requests
import sys
import time
import urllib
Expand Down Expand Up @@ -341,11 +341,11 @@ def callback_server():
'ignore',
category=urllib3.exceptions.InsecureRequestWarning)

resp = requests.get(
resp = httpx.get(
'https://127.0.0.1:{}/schwab-py-internal/status'.format(
callback_port), verify=False)
break
except requests.exceptions.ConnectionError as e:
except httpx.ConnectError as e:
pass

time.sleep(0.1)
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@
'httpx',
'prompt_toolkit',
'psutil',
'requests',
'python-dateutil',
'selenium',
'urllib3',
'websockets'
],
extras_require={
Expand Down

0 comments on commit 734448a

Please sign in to comment.