code: def list(
      tag: Tag | str | None = None,
      _bento_store: BentoStore = Provide[BentoMLContainer.bento_store],
  ) -> t.List[Bento]:
      return _bento_store.list(tag)
  
imports: from __future__ import annotations
  import logging
  import os
  import re
  import subprocess
  import sys
  import tempfile
  import typing
  from simple_di import Provide
  from simple_di import inject
  from ._internal.bento import Bento
  from ._internal.bento.build_config import BentoBuildConfig
  from ._internal.configuration.containers import BentoMLContainer
  from ._internal.tag import Tag
  from ._internal.utils import resolve_user_filepath
  from .exceptions import BadInput
  from .exceptions import BentoMLException
  from .exceptions import InvalidArgument
label_desc: Use image node_id 1 for calling a global function with example usage: list(tag, _bento_store) and returns: _bento_store