Skip to content

Commit

Permalink
remove unnecessary dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgolec committed Jun 30, 2024
1 parent d93e6f0 commit 821b0cb
Show file tree
Hide file tree
Showing 2 changed files with 3 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
2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@
'httpx',
'prompt_toolkit',
'psutil',
'requests',
'python-dateutil',
'selenium',
'websockets'
],
extras_require={
Expand Down

0 comments on commit 821b0cb

Please sign in to comment.