Skip to content

Commit b722ad0

Browse files
committed
Updated components - removed dead code.
1 parent 592b41a commit b722ad0

File tree

5 files changed

+2
-740
lines changed

5 files changed

+2
-740
lines changed

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dependencies = [
2929
"click==8.2.*",
3030
"codetiming==1.4.*",
3131
"munch==4.0.*",
32-
"adbc-driver-flightsql==1.6.*",
32+
"adbc-driver-flightsql==1.7.*",
3333
"pyarrow==20.0.*",
3434
"python-dateutil==2.9.*",
3535
"pytz==2025.*",
@@ -45,8 +45,7 @@ requires-python = ">=3.12"
4545
[project.optional-dependencies]
4646
dev = ["bumpver", "pip-tools", "pytest"]
4747
client = [
48-
"pandas==2.2.*",
49-
"pglast==7.3.*"
48+
"pandas==2.3.*"
5049
]
5150

5251
[project.urls]

src/flight_sql_websocket_proxy/client.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
import click
1515
import pandas as pd
1616
from munch import munchify
17-
from pglast import parser
1817
from websockets.exceptions import ConnectionClosed
1918
from websockets.frames import Close
2019
from websockets.legacy.client import connect
@@ -109,15 +108,6 @@ def print_over_input(string: str) -> None:
109108
sys.stdout.flush()
110109

111110

112-
async def is_sql_command(message: str) -> bool:
113-
try:
114-
tree = parser.parse_sql_json(message)
115-
except Exception as exc:
116-
return False
117-
else:
118-
return True
119-
120-
121111
async def _run_client(
122112
server_protocol: str,
123113
server_hostname: str,

src/flight_sql_websocket_proxy/parser/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)