docstr: The function is used to save pyvmomi object into cache
docstr_tok: ["The","function","is","used","to","save","pyvmomi","object","into","cache"]
code: def put_obj_in_cache(self, vimtype, obj):
      """
      The function is used to save pyvmomi object into cache
      """
      object_type = get_object_type(vimtype)
      self.cached[KeyType.Name][object_type][obj.name] = obj
      self.cached[KeyType.ObjectID][object_type][obj._moId] = obj
  
imports: import atexit
  import logging
  import ssl
  import time
  from enum import Enum
  from pyVim.connect import Disconnect, SmartStubAdapter, VimSessionOrientedStub
  from pyVim.task import WaitForTask
  from pyVmomi import vim, vmodl
  from ray.autoscaler._private.vsphere.utils import Constants, is_ipv4, singleton_client
label_desc: Use image node_id 4 for calling the PyvmomiSdkProvider obj's underlying member method code with example usage: obj.put_obj_in_cache(vimtype, obj) without return types