code: def view(
      self,
      path: Union[AimObjectKey, AimObjectPath],
      resolve: bool = False,
  ):
      if isinstance(path, (int, str)):
          path = (path,)
      assert path
  
      container = self.container
      for key in path:
          container = container[key]
  
      if isinstance(container, CustomObjectBase):
          return container
  
      return InMemoryTreeView(container)
  
imports: from copy import deepcopy
  from aim.storage.types import CustomObjectBase
  from aim.storage.types import AimObject, AimObjectKey, AimObjectPath
  from aim.storage.treearrayview import TreeArrayView
  from aim.storage.treeview import TreeView
  from typing import Any, Iterator, Tuple, Union
label_desc: Use image node_id 2 for calling the InMemoryTreeView obj's underlying member method code with example usage: obj.view(path, resolve) and returns: InMemoryTreeView, container