code: def __init__(self, app: ext.ASGIApp):
      from bentoml._internal.configuration.containers import (
          BentoMLContainer,
      )
  
      self.app = app
      self.metrics_client = BentoMLContainer.metrics_client.get()
  
imports: from __future__ import annotations
  import typing
  from typing import TYPE_CHECKING
  import click
label_desc: Use image node_id 1 to create a new GenerateLatestMiddleware object  with example: obj = GenerateLatestMiddleware(app)