Skip to content

Commit

Permalink
Address formatting and pylint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Sophie Zhang committed Mar 16, 2024
1 parent b842fe8 commit f14f771
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/brad/front_end/flight_sql_server.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import logging
import threading

# pylint: disable-next=import-error,no-name-in-module,unused-import
import brad.native.pybind_brad_server as brad_server

logger = logging.getLogger(__name__)
Expand Down
8 changes: 4 additions & 4 deletions src/brad/front_end/front_end.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ def __init__(
output_queue: mp.Queue,
):
if BradFrontEnd.native_server_is_supported():
# pylint: disable-next=import-error,no-name-in-module
import brad.native.pybind_brad_server as brad_server
from brad.front_end.flight_sql_server import BradFlightSqlServer
self._flight_sql_server = BradFlightSqlServer(host="0.0.0.0",
port=31337)

self._flight_sql_server: Union[BradFlightSqlServer, None] = (
BradFlightSqlServer(host="0.0.0.0", port=31337)
)
self._flight_sql_server.start()
else:
self._flight_sql_server = None
Expand Down

0 comments on commit f14f771

Please sign in to comment.