class_docstr: Slots implemented without __dict__.
class_docstr_tok: ["Slots","implemented","without","__dict__","."]
docstr: The cost of the item.
docstr_tok: ["The","cost","of","the","item","."]
code: def cost(self):
      """The cost of the item."""
      raise RuntimeError("never called, slots not supported")
  
imports: import concurrent.futures
  import sys
  import threading
  import pytest
  from flash.core.serve._compat.cached_property import cached_property
  from flash.core.utilities.imports import _TOPIC_SERVE_AVAILABLE
label_desc: Use image node_id 2 for calling the CachedCostItemWithSlots obj's underlying member method code with example usage: obj.cost() without return types