class_docstr: Custom Gunicorn application, required when integrating gunicorn as an API.
class_docstr_tok: ["Custom","Gunicorn","application",",","required","when","integrating","gunicorn","as","an","API","."]
code: def __init__(self, app, args=None):
      options = {}
      if args:
          options["bind"] = f"localhost:{args['port']}"
      self.options = options
      self.application = app
      super().__init__()
  
file_path: orion/src/orion/core/cli/frontend.py
imports: import logging
  import mimetypes
  import os
  import site
  import sys
  import falcon
  from gunicorn.app.base import BaseApplication
label_desc: Use image node_id 1 to create a new GunicornApp object from inherited base classes: BaseApplication with example: obj = GunicornApp(app, args)