jina.peapods.runtimes.asyncio.rest.app

jina.peapods.runtimes.asyncio.rest.app.get_fastapi_app(args, logger)[source]

Get the app from FastAPI as the REST interface.

Parameters
  • args (Namespace) – passed arguments.

  • logger (JinaLogger) – Jina logger.

Returns

fastapi app