code: def host() -> t.Generator[str, None, None]:
      import bentoml
  
      bentoml.build("service:svc")
  
      with host_bento(bento="pytorch_mnist_demo:latest") as host:
          yield host
  
imports: import typing
  import pytest
  from bentoml.testing.server import host_bento
label_desc: Use image node_id 2 for calling a global function with example usage: host() without return types