jina.peapods.runtimes.gateway.http.app module

jina.peapods.runtimes.gateway.http.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