jina.peapods.runtimes.gateway.websocket.app module

jina.peapods.runtimes.gateway.websocket.app.get_fastapi_app(args, logger)[source]

Get the app from FastAPI as the Websocket interface.

Parameters
  • args (Namespace) – passed arguments.

  • logger (JinaLogger) – Jina logger.

Returns

fastapi app