Skip to content

Commit fedca81

Browse files
1 parent 0e04303 commit fedca81

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎bigquery_magics/graph_server.py

+2
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ class GraphServer:
137137
This server is used only in Jupyter; in colab, google.colab.output.register_callback()
138138
is used instead.
139139
"""
140+
140141
port = None
141142
host = "http://localhost"
142143
url = f"{host}:{port}"
@@ -163,6 +164,7 @@ def build_route(endpoint):
163164
@staticmethod
164165
def _start_server():
165166
import portpicker
167+
166168
port = portpicker.pick_unused_port()
167169

168170
class ThreadedTCPServer(socketserver.TCPServer):

0 commit comments

Comments
 (0)