Skip to content

Commit d8fb8ab

Browse files
committed
Run command takes port
1 parent 4df6b5b commit d8fb8ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interpreter/core/async_core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,9 +294,9 @@ def __init__(self, async_interpreter, host=host, port=port):
294294
config=uvicorn.Config(app=self.app, host=self.host, port=self.port)
295295
)
296296

297-
def run(self):
297+
def run(self, *args, **kwargs):
298298
try:
299-
self.uvicorn_server.run()
299+
self.uvicorn_server.run(*args, **kwargs)
300300
except ImportError as e:
301301
raise ImportError(
302302
str(e)

0 commit comments

Comments
 (0)